[gimp] app: Clarify why we need URI drop target on toolbox
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] app: Clarify why we need URI drop target on toolbox
- Date: Thu, 21 Jan 2010 19:58:56 +0000 (UTC)
commit 613b330bc0c3b05f30a2e587951f905631fc29e6
Author: Martin Nordholts <martinn src gnome org>
Date: Thu Jan 21 21:00:31 2010 +0100
app: Clarify why we need URI drop target on toolbox
app/widgets/gimptoolbox-dnd.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimptoolbox-dnd.c b/app/widgets/gimptoolbox-dnd.c
index 43e0436..451c7c2 100644
--- a/app/widgets/gimptoolbox-dnd.c
+++ b/app/widgets/gimptoolbox-dnd.c
@@ -93,9 +93,13 @@ gimp_toolbox_dnd_init (GimpToolbox *toolbox)
context = gimp_toolbox_get_context (toolbox);
+ /* We need to set this on the toolbox to make gimp-remote
+ * work. Remove this when we have gotten rid of gimp-remote.
+ */
gimp_dnd_uri_list_dest_add (GTK_WIDGET (toolbox),
gimp_toolbox_drop_uri_list,
context);
+
gimp_dnd_uri_list_dest_add (gimp_toolbox_get_vbox (toolbox),
gimp_toolbox_drop_uri_list,
context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]