From 2612ba2ea28ba13da4214b2b4d92a934e337c97b Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 17 Nov 2002 22:40:25 +0000 Subject: [PATCH] add a file dnd dest for the toplevel toolbox widget too. Makes gimp-remote 2002-11-17 Michael Natterer * app/widgets/gimptoolbox.c (gimp_toolbox_new): add a file dnd dest for the toplevel toolbox widget too. Makes gimp-remote work again. --- ChangeLog | 6 ++++++ app/widgets/gimptoolbox.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index adfb95ce34..8c3e0eb0bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-11-17 Michael Natterer + + * app/widgets/gimptoolbox.c (gimp_toolbox_new): add a file dnd + dest for the toplevel toolbox widget too. Makes gimp-remote work + again. + 2002-11-17 Michael Natterer * app/widgets/gimpdrawablelistview.c: removed #undef diff --git a/app/widgets/gimptoolbox.c b/app/widgets/gimptoolbox.c index fa6ef8094e..48ce84e4e0 100644 --- a/app/widgets/gimptoolbox.c +++ b/app/widgets/gimptoolbox.c @@ -472,6 +472,8 @@ gimp_toolbox_new (GimpDialogFactory *dialog_factory, G_OBJECT (toolbox->wbox), 0); + gimp_dnd_file_dest_add (GTK_WIDGET (toolbox), gimp_dnd_open_files, NULL); + gimp_dnd_file_dest_add (toolbox->wbox, gimp_dnd_open_files, NULL); gimp_dnd_viewable_dest_add (toolbox->wbox, GIMP_TYPE_LAYER,