allow to drop palettes onto the palette view again.
2005-07-22 Michael Natterer <mitch@gimp.org> * app/widgets/gimppaletteeditor.c (gimp_palette_editor_init): allow to drop palettes onto the palette view again.
This commit is contained in:

committed by
Michael Natterer

parent
93e282b5b5
commit
f0c7009c29
@ -260,6 +260,10 @@ gimp_palette_editor_init (GimpPaletteEditor *editor)
|
||||
G_CALLBACK (palette_editor_color_dropped),
|
||||
editor);
|
||||
|
||||
gimp_dnd_viewable_dest_add (editor->view, GIMP_TYPE_PALETTE,
|
||||
palette_editor_drop_palette,
|
||||
editor);
|
||||
|
||||
hbox = gtk_hbox_new (FALSE, 2);
|
||||
gtk_box_pack_start (GTK_BOX (editor), hbox, FALSE, FALSE, 0);
|
||||
gtk_widget_show (hbox);
|
||||
|
Reference in New Issue
Block a user