epiphany r8452 - trunk/lib/widgets
- From: lminier svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8452 - trunk/lib/widgets
- Date: Tue,  2 Sep 2008 19:58:18 +0000 (UTC)
Author: lminier
Date: Tue Sep  2 19:58:18 2008
New Revision: 8452
URL: http://svn.gnome.org/viewvc/epiphany?rev=8452&view=rev
Log:
Revert special handling of double click in the LocationEntry; bug #426349.
Modified:
   trunk/lib/widgets/ephy-location-entry.c
Modified: trunk/lib/widgets/ephy-location-entry.c
==============================================================================
--- trunk/lib/widgets/ephy-location-entry.c	(original)
+++ trunk/lib/widgets/ephy-location-entry.c	Tue Sep  2 19:58:18 2008
@@ -373,18 +373,6 @@
 }
 
 static gboolean
-entry_button_press_cb (GtkWidget *entry, GdkEventButton *event, EphyLocationEntry *le)
-{
-	if (event->button == 1 && event->type == GDK_2BUTTON_PRESS)
-	{
-		ephy_location_entry_activate (le);
-		return TRUE;
-	}
-
-	return FALSE;
-}
-
-static gboolean
 entry_key_press_cb (GtkEntry *entry,
 		    GdkEventKey *event,
 		    EphyLocationEntry *lentry)
@@ -911,8 +899,6 @@
 				G_CALLBACK (entry_key_press_after_cb), entry);
 	g_signal_connect_after (priv->icon_entry->entry, "activate",
 				G_CALLBACK (entry_activate_after_cb), entry);
-	g_signal_connect (priv->icon_entry->entry, "button-press-event",
-			  G_CALLBACK (entry_button_press_cb), entry);
 	g_signal_connect (priv->icon_entry->entry, "changed",
 			  G_CALLBACK (editable_changed_cb), entry);
 	g_signal_connect (priv->icon_entry->entry, "drag-motion",
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]