summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-09-12 09:18:04 +0000
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-09-12 09:18:04 +0000
commitf50cd32129b94c94415dfce8ce72d6df51d0abe9 (patch)
tree37bb51790c2f60188bbae42af2b9033ca8038d72
parent3c04663e2effb701fd111233ca3eb9c698bc1ab6 (diff)
downloadepiphany-pre-gnome-2-10.tar.gz
Use SAME_APP flag for drag destination. Fix #152388pre-gnome-2-10
2004-09-12 Marco Pesenti Gritti <marco@gnome.org> * src/toolbar.c: Use SAME_APP flag for drag destination. Fix #152388
-rw-r--r--ChangeLog6
-rwxr-xr-xsrc/toolbar.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bcf9f73c..d498c6841 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-12 Marco Pesenti Gritti <marco@gnome.org>
+
+ * src/toolbar.c:
+
+ Use SAME_APP flag for drag destination. Fix #152388
+
2004-09-11 Christian Persch <chpe@cvs.gnome.org>
* embed/Makefile.am:
diff --git a/src/toolbar.c b/src/toolbar.c
index ffad226f4..142b92806 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);