aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-13 18:32:13 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-13 18:32:13 +0800
commite7e430910c57ca4e9984b92739f77666ab19a775 (patch)
tree45877c92dcfdb2eb19e42d1079abbd9b30ab27a3
parent7d4965d1f2034b5266e321fb9fe6c346dfbe504a (diff)
downloadgsoc2013-epiphany-e7e430910c57ca4e9984b92739f77666ab19a775.tar
gsoc2013-epiphany-e7e430910c57ca4e9984b92739f77666ab19a775.tar.gz
gsoc2013-epiphany-e7e430910c57ca4e9984b92739f77666ab19a775.tar.bz2
gsoc2013-epiphany-e7e430910c57ca4e9984b92739f77666ab19a775.tar.lz
gsoc2013-epiphany-e7e430910c57ca4e9984b92739f77666ab19a775.tar.xz
gsoc2013-epiphany-e7e430910c57ca4e9984b92739f77666ab19a775.tar.zst
gsoc2013-epiphany-e7e430910c57ca4e9984b92739f77666ab19a775.zip
Don't accept drops of toolitems from other applications. Fixes bug
2004-09-13 Christian Persch <chpe@cvs.gnome.org> * src/toolbar.c: Don't accept drops of toolitems from other applications. Fixes bug #152388.
-rw-r--r--ChangeLog7
-rwxr-xr-xsrc/toolbar.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b33cecd94..1c4205ee0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-09-13 Christian Persch <chpe@cvs.gnome.org>
+ * src/toolbar.c:
+
+ Don't accept drops of toolitems from other applications.
+ Fixes bug #152388.
+
+2004-09-13 Christian Persch <chpe@cvs.gnome.org>
+
* src/bookmarks/ephy-topics-selector.c: (toggle_topic),
(node_toggled_cb), (ephy_topics_selector_new_topic):
diff --git a/src/toolbar.c b/src/toolbar.c
index 55e9b3dfb..94c9d7dc0 100755
--- a/src/toolbar.c
+++ b/src/toolbar.c
@@ -51,9 +51,9 @@ static void toolbar_set_window (Toolbar *t, EphyWindow *window);
static GtkTargetEntry drag_targets[] =
{
- { EGG_TOOLBAR_ITEM_TYPE, 0, 0 },
- { EPHY_DND_TOPIC_TYPE, 0, 1 },
- { EPHY_DND_URL_TYPE, 0, 2 }
+ { EGG_TOOLBAR_ITEM_TYPE, GTK_TARGET_SAME_APP, 0 },
+ { EPHY_DND_TOPIC_TYPE, 0, 1 },
+ { EPHY_DND_URL_TYPE, 0, 2 }
};
static int n_drag_targets = G_N_ELEMENTS (drag_targets);