• Michael Natterer's avatar
    app/widgets/gimpgradienteditor.[ch] added public APIs for zooming the · 714771d4
    Michael Natterer authored
    2004-10-24  Michael Natterer  <mitch@gimp.org>
    	* app/widgets/gimpgradienteditor.[ch]
    	* app/widgets/gimppaletteeditor.[ch]: added public APIs for
    	zooming the editors. Use gimp_editor_add_action_button() to create
    	all buttons. Removed all button callbacks and all duplicated
    	button sensitivity logic.
    	* app/widgets/gimpdataeditor.c (gimp_data_editor_set_data): update
    	the editor's UI manager if it exists.
    	* app/actions/gradient-editor-actions.c
    	* app/actions/gradient-editor-commands.[ch]: added zoom actions
    	and callback and call gimp_gradient_editor_zoom(). Fixed
    	gradient_editor_actions_update() to actually set all items'
    	sensitivity (it was possible to modify read-only gradients and
    	even to crash GIMP).
    	* app/actions/palette-editor-actions.c
    	* app/actions/palette-editor-commands.[ch]: changed "new" and
    	"zoom" actions to actually do their job instead of calling
gimpgradienteditor.h 4.2 KB