aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoic Minier <lminier@src.gnome.org>2008-09-03 03:58:18 +0800
committerLoic Minier <lminier@src.gnome.org>2008-09-03 03:58:18 +0800
commit57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425 (patch)
treed4eebd94e1fe1ff099cc144adf25126c077df1b9
parent44ece2fb423ed9af5925ed87452807be6f005a22 (diff)
downloadgsoc2013-epiphany-57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425.tar
gsoc2013-epiphany-57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425.tar.gz
gsoc2013-epiphany-57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425.tar.bz2
gsoc2013-epiphany-57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425.tar.lz
gsoc2013-epiphany-57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425.tar.xz
gsoc2013-epiphany-57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425.tar.zst
gsoc2013-epiphany-57f5730f36cf6b5a93dc6f8fbf7ad10a064b8425.zip
Revert special handling of double click in the LocationEntry; bug #426349.
svn path=/trunk/; revision=8452
-rw-r--r--lib/widgets/ephy-location-entry.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 6c3944e2c..1b42b62e4 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -373,18 +373,6 @@ editable_changed_cb (GtkEditable *editable,
}
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 @@ ephy_location_entry_construct_contents (EphyLocationEntry *entry)
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",