Commit 17475c5f authored by
Applied patch from David Gowers which adds actions to select palette and
2006-05-28 Michael Natterer <firstname.lastname@example.org> Applied patch from David Gowers which adds actions to select palette and colormap colors with actions. Modified the patch quite a bit. Fixes bug #130123. * app/widgets/gimpcolormapeditor.[ch] * app/widgets/gimppaletteeditor.[ch]: add functions get_index() which gets the currently selected color's index (optionally the index of a passed color), set_index() which sets the selected color by index, and max_index() which returns the maximum possible color index. * app/dialogs/dialogs-constructors.c: changed accordingly. * app/actions/context-actions.c * app/actions/context-commands.[ch]: actions and callbacks which use the new functions.
Showing with 736 additions and 127 deletions