diff options
author | Xan Lopez <xan@igalia.com> | 2011-12-15 01:01:14 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2011-12-15 01:01:14 +0800 |
commit | 3295288a7292a74d14c6a5a20e41e2afe010f34e (patch) | |
tree | b508743f41c1fe93f8997b295d1fa21df2ab3118 /lib/widgets | |
parent | 2db47fb32732e9613e5338d8c165ed5f771e819a (diff) | |
download | gsoc2013-epiphany-3295288a7292a74d14c6a5a20e41e2afe010f34e.tar.gz gsoc2013-epiphany-3295288a7292a74d14c6a5a20e41e2afe010f34e.tar.zst gsoc2013-epiphany-3295288a7292a74d14c6a5a20e41e2afe010f34e.zip |
Remove last traces of the EggToolbar code
Diffstat (limited to 'lib/widgets')
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index 0e16d4213..630020520 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -26,7 +26,6 @@ #include "ephy-location-entry.h" #include "ephy-signal-accumulator.h" #include "ephy-dnd.h" -#include "egg-editable-toolbar.h" #include "ephy-stock-icons.h" #include "ephy-debug.h" #include "ephy-gui.h" @@ -512,33 +511,12 @@ action_activated_after_cb (GtkEntryCompletion *completion, } static gboolean -toolbar_is_editable (GtkWidget *widget) -{ - GtkWidget *etoolbar; - - etoolbar = gtk_widget_get_ancestor (widget, EGG_TYPE_EDITABLE_TOOLBAR); - - if (etoolbar) - { - return egg_editable_toolbar_get_edit_mode - (EGG_EDITABLE_TOOLBAR (etoolbar)); - } - - return FALSE; -} - -static gboolean entry_drag_motion_cb (GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time) { - if (toolbar_is_editable (widget)) - { - g_signal_stop_emission_by_name (widget, "drag_motion"); - } - return FALSE; } @@ -549,11 +527,6 @@ entry_drag_drop_cb (GtkWidget *widget, gint y, guint time) { - if (toolbar_is_editable (widget)) - { - g_signal_stop_emission_by_name (widget, "drag_drop"); - } - return FALSE; } |