added GimpData::duplicate() implementation so read-only palettes can be
2003-03-10 Michael Natterer <mitch@gimp.org> * app/core/gimppalette.[ch]: added GimpData::duplicate() implementation so read-only palettes can be edited again by duplicating them first. * app/gui/dialogs-constructors.c: pass the <Palettes>, not the <Gradients> menu identifier to the palette grid and tree view constructors (spotted by Tigert).
This commit is contained in:

committed by
Michael Natterer

parent
6f3f9556c4
commit
a00a565c8c
@ -541,7 +541,7 @@ dialogs_palette_grid_view_new (GimpDialogFactory *factory,
|
||||
context,
|
||||
preview_size,
|
||||
5, 3,
|
||||
factory->menu_factory, "<Gradients>");
|
||||
factory->menu_factory, "<Palettes>");
|
||||
|
||||
return dialogs_dockable_new (view,
|
||||
_("Palette Grid"), _("Palettes"), NULL,
|
||||
@ -689,7 +689,7 @@ dialogs_palette_tree_view_new (GimpDialogFactory *factory,
|
||||
context,
|
||||
preview_size,
|
||||
5, 3,
|
||||
factory->menu_factory, "<Gradients>");
|
||||
factory->menu_factory, "<Palettes>");
|
||||
|
||||
return dialogs_dockable_new (view,
|
||||
_("Palette Tree"), _("Palettes"), NULL,
|
||||
|
Reference in New Issue
Block a user