Commit 4462ca8a authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

enable save via DND from the image list in the quit dialog.

2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: enable save via DND from the image
	list in the quit dialog.
parent 01ddef50
2005-03-31 Sven Neumann <sven@gimp.org>
* app/dialogs/quit-dialog.c: enable save via DND from the image
list in the quit dialog.
2005-03-31 Sven Neumann <sven@gimp.org>
* app/dialogs/quit-dialog.c: use GTK_STOCK_DELETE for the "Discard
......
......@@ -35,6 +35,8 @@
#include "display/gimpdisplay-foreach.h"
#include "widgets/gimpcontainertreeview.h"
#include "widgets/gimpcontainerview.h"
#include "widgets/gimpdnd.h"
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpmessagebox.h"
#include "widgets/gimpmessagedialog.h"
......@@ -128,6 +130,10 @@ quit_dialog_new (Gimp *gimp)
G_CALLBACK (quit_dialog_image_activated),
gimp);
gimp_dnd_xds_source_add (gimp_container_view_get_dnd_widget (view),
(GimpDndDragViewableFunc) gimp_dnd_get_drag_data,
NULL);
label = gtk_label_new (_("If you quit GIMP now, "
"these changes will be lost."));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment