diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-09-13 18:32:13 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-09-13 18:32:13 +0800 |
commit | e7e430910c57ca4e9984b92739f77666ab19a775 (patch) | |
tree | 45877c92dcfdb2eb19e42d1079abbd9b30ab27a3 | |
parent | 7d4965d1f2034b5266e321fb9fe6c346dfbe504a (diff) | |
download | gsoc2013-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-- | ChangeLog | 7 | ||||
-rwxr-xr-x | src/toolbar.c | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -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); |