aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoic Minier <lminier@src.gnome.org>2008-09-03 03:59:35 +0800
committerLoic Minier <lminier@src.gnome.org>2008-09-03 03:59:35 +0800
commitdc42a6f795fb5011e10fce876cd53bed469dca20 (patch)
tree200315fbf504d0649a65f25487221acb07205dc0
parenta4939261711abaaace78426973f8ba145fad943a (diff)
downloadgsoc2013-epiphany-dc42a6f795fb5011e10fce876cd53bed469dca20.tar
gsoc2013-epiphany-dc42a6f795fb5011e10fce876cd53bed469dca20.tar.gz
gsoc2013-epiphany-dc42a6f795fb5011e10fce876cd53bed469dca20.tar.bz2
gsoc2013-epiphany-dc42a6f795fb5011e10fce876cd53bed469dca20.tar.lz
gsoc2013-epiphany-dc42a6f795fb5011e10fce876cd53bed469dca20.tar.xz
gsoc2013-epiphany-dc42a6f795fb5011e10fce876cd53bed469dca20.tar.zst
gsoc2013-epiphany-dc42a6f795fb5011e10fce876cd53bed469dca20.zip
Merge r8452 from trunk; revert special handling of double click in the
LocationEntry; bug #426349. svn path=/branches/gnome-2-24/; revision=8453
-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",