1. 11 Jul, 2018 1 commit
  2. 23 Nov, 2017 1 commit
  3. 20 Nov, 2017 2 commits
  4. 16 Nov, 2017 5 commits
  5. 15 Nov, 2017 1 commit
    • Jehan's avatar
      app: more accurate labels for "Visible" actions. · 87140a4c
      Jehan authored
      There were 4 actions displaying as "Visible" only: channels-visible,
      drawable-visible, layers-visible and vectors-visible. This was not very
      useful to differentiate them (for instance in action search). Just make
      clearer labels.
      87140a4c
  6. 17 Jun, 2017 1 commit
    • Alexandre Prokoudine's avatar
      Bug 556884 - More messages marked for translation · 40dccbdd
      Alexandre Prokoudine authored
      Humanize action names to make them readable while
      preserving their original grouping. Mark for translation
      the missing ones. Use absolute values to make
      "increase/decrease more" less cryptic since we hardcode
      those values anyway.
      40dccbdd
  7. 05 Mar, 2017 1 commit
  8. 29 Oct, 2016 1 commit
    • Michael Natterer's avatar
      Bug 769738 - Add color tags/labels for layers/channels/paths · 31fcd79d
      Michael Natterer authored
      Add property "color-tag" of type enum GimpColorTag to GimpItem so all
      layers, channels and paths can be tagged with a color.
      
      For interoperability, use the color list from Krita which is a
      superset of Photoshop's colors.
      
      Features a "Color Tag" submenu in the layers, channels and paths
      menus, a row of color radio buttons in the properties dialogs,
      undo and PDB API.
      
      As a side effect, some common code is now factores out into
      items-actions.[ch] and items-commands.[ch] which adds visible, linked
      and lock actions for layers and channels.
      31fcd79d
  9. 11 May, 2014 1 commit
  10. 01 Aug, 2009 1 commit
  11. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  12. 04 Dec, 2008 1 commit
    • Sven Neumann's avatar
      also use the translation context for the tooltips. · ff6bde0a
      Sven Neumann authored
      2008-12-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: also use the translation
      	context for the tooltips.
      
      	* app/actions/*.c: added translation context to all tooltips. 
      Also
      	improved some tooltips while I was on it.
      
      
      svn path=/trunk/; revision=27757
      ff6bde0a
  13. 03 Dec, 2008 1 commit
    • Sven Neumann's avatar
      added an extra parameter for the translation context to all · 74e76f2c
      Sven Neumann authored
      2008-12-03  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: added an extra parameter for
      	the translation context to all gimp_action_group_add methods.
      
      	* app/actions/*.c: added a translation context to all action
      	labels. Also unified and improved the labels and tooltips in a 
      few
      	places.
      
      
      svn path=/trunk/; revision=27754
      74e76f2c
  14. 14 Nov, 2008 1 commit
    • Michael Natterer's avatar
      rename gimp_image_floating_sel() to gimp_image_get_floating_selection(). · fb1660a4
      Michael Natterer authored
      2008-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: rename gimp_image_floating_sel() to
      	gimp_image_get_floating_selection().
      
      	* app/actions/channels-actions.c
      	* app/actions/image-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/select-actions.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: changed accordingly, replaced some
      	instances of direct acces by the accessor.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27649
      fb1660a4
  15. 02 Nov, 2008 1 commit
    • Michael Natterer's avatar
      add new functions gimp_image_get_layer_iter(), channel_iter() and · d1ca165b
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: add new functions
      	gimp_image_get_layer_iter(), channel_iter() and vectors_iter()
      	which return the GList inside the resp. GimpList.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-item-list.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/core/gimpprojection-construct.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/file/file-open.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpdrawtool.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: use the new functions instead of
      	peeking both into the image and the list. Remove inclusions of
      	"gimplist.h" or change them into "gimpcontainer.h" if needed.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27524
      d1ca165b
  16. 09 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a · 5503e6a0
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h
      	had a GEGL dependency (they will have in the next commit, but I
      	wanted to keep the commit separate).
      
      	* app/dialogs/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/menus/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/vectors/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am: add GEGL_CFLAGS.
      
      	* app/actions/*.c
      	* app/core/*.c
      	* app/dialogs/*.c
      	* app/display/*.c
      	* app/file/*.c
      	* app/gui/*.c
      	* app/menus/*.c
      	* app/paint/*.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/*.c
      	* app/text/*.c
      	* app/tools/*.c
      	* app/vectors/*.c
      	* app/widgets/*.c
      	* app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h>
      	to all files which include a drawable subclass or gimpimage.h
      
      	* tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h>
      	in all generated files.
      
      	* app/pdb/*-cmds.c: regenerated.
      
      	* data/images/gimp-splash.png: the goat is still sleeping.
      	By Aurore Derriennic.
      
      
      svn path=/trunk/; revision=27202
      5503e6a0
  17. 09 Dec, 2006 1 commit
  18. 10 Apr, 2006 1 commit
    • Sven Neumann's avatar
      take const arrays of action entries. · 12920b5a
      Sven Neumann authored
      2006-04-10  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: take const arrays of action
      	entries.
      
      	* app/actions/*-actions.c: declare action arrays as const.
      12920b5a
  19. 28 Mar, 2006 1 commit
  20. 15 Mar, 2006 1 commit
    • Sven Neumann's avatar
      app/actions/channels-actions.c app/actions/edit-actions.c · ce4f6466
      Sven Neumann authored
      2006-03-15  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/channels-actions.c
      	* app/actions/edit-actions.c
      	* app/actions/file-actions.c
      	* app/actions/image-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/view-actions.c: added more action blurbs.
      ce4f6466
  21. 19 Sep, 2005 1 commit
    • Sven Neumann's avatar
      use GTK_STOCK_FILE for File actions. · 3b28167d
      Sven Neumann authored
      2005-09-19  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/actions.c: use GTK_STOCK_FILE for File actions.
      
      	* app/actions/dialogs-actions.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/print/gimp_main_window.c: use GTK_STOCK_ABOUT for About
      	dialogs.
      
      	* app/actions/actions.c
      	* app/actions/brushes-actions.c
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/palette-editor-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/templates-commands.c
      	* app/actions/text-editor-actions.c
      	* app/actions/tool-options-actions.c
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/orientation.c
      	* plug-ins/gimpressionist/size.c
      	* plug-ins/metadata/interface.c: s/GIMP_STOCK_EDIT/GTK_STOCK_EDIT/
      3b28167d
  22. 18 Nov, 2004 1 commit
    • Michael Natterer's avatar
      added boolean property "value-variable" which specifies if the · 567bb7b2
      Michael Natterer authored
      2004-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpenumaction.[ch]: added boolean property
      	"value-variable" which specifies if the GimpEnumAction::selected()
      	signal may be emitted with arbirtary values (value-variable = TRUE)
      	or *only* with enum_action->value (value-variable = FALSE).
      
      	* app/widgets/gimpactiongroup.[ch]: added "gboolean
      	value_variable" to GimpEnumActionEntry and set it in
      	gimp_action_group_add_enum_actions().
      
      	* app/actions/channels-actions.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/context-actions.c
      	* app/actions/drawable-actions.c
      	* app/actions/edit-actions.c
      	* app/actions/error-console-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/image-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/palette-editor-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/vectors-actions.c
      	* app/actions/view-actions.c: set "variable" to FALSE for all enum
      	actions except those which are used with the GIMP_ACTION_SELECT_SET
      	voodoo.
      
      	* app/widgets/gimpcontrollers.c (gimp_controllers_event_mapped):
      	fall back to gtk_action_activate() if the action specified in a
      	GIMP_CONTROLLER_EVENT_VALUE mapping is not variable. Enables
      	triggering of enum actions from GIMP_CONTROLLER_EVENT_VALUE events
      	(like midi note-on and note-off).
      567bb7b2
  23. 23 Oct, 2004 1 commit
    • Michael Natterer's avatar
      When there are variants of actions with and without dialog, let the · fd6d30fd
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      
      	When there are variants of actions with and without dialog, let
      	the dialog-less actions try to use the values from the last dialog
      	invocation:
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: renamed the foo-new-defaults
      	actions to foo-new-last-values and use the last values entered in
      	the dialogs.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: changed accordingly. Show
      	the dialog on clicking "New" and call the last-values action on
      	<shift>+click.
      
      	* app/actions/select-actions.c
      	* app/actions/vectors-commands.c: renamed the foo-stroke-last-vals
      	to -last-values.
      
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorstreeview.c: stroke with last values on
      	<shift> clicking the stroke buttons.
      fd6d30fd
  24. 18 Oct, 2004 1 commit
    • Michael Natterer's avatar
      Action code review and pre-release consistency cleanup: · c49df22e
      Michael Natterer authored
      2004-10-18  Michael Natterer  <mitch@gimp.org>
      
      	Action code review and pre-release consistency cleanup:
      
      	* app/actions/*-actions.c: added some missing and resolved
      	conflicting mnemonics, added missing help IDs. Cleaned up the
      	*_actions_update() functions.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c (*_actions_update): simplified
      	the code that figures the prev and next channel,layer,vectors.
      
      	* app/actions/qmask-actions.c: use the same accelerator for
      	"qmask-active" and "qmask-toggle". Fixed action sensitivity.
      
      	* app/actions/channels-commands.c
      	* app/actions/dockable-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/image-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c: folded tons of private utility
      	functions into their only callers (they used to be public and
      	called from outside before the switch to action based menus).
      	Renamed functions and variables saying "query" or "qbox" to
      	"dialog". Moved static functions to the end of the files. Misc
      	minor cleanups.
      
      	* app/actions/drawable-actions.c
      	* app/actions/drawable-commands.c: made the "drawable-visible" and
      	"drawable-linked" actions affect the layer if the active drawable
      	is a layer mask.
      
      	* app/actions/select-commands.c: added action to stroke with the
      	last values used in an attempt to address bug #135746 but #if 0'ed
      	it because the approach is too ugly.
      
      	* app/tools/gimpiscissorstool.c: changed mnemonic from I to S.
      
      	* menus/image-menu-xml.in: added more stuff to the (commented out)
      	"context" menu.
      c49df22e
  25. 16 Oct, 2004 2 commits
    • Michael Natterer's avatar
      app/actions/channels-actions.c app/actions/colormap-editor-actions.c · f4d7260c
      Michael Natterer authored
      2004-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/channels-actions.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/documents-actions.c
      	* app/actions/tool-options-actions.c
      	* app/actions/vectors-actions.c: added more tooltips for actions
      	which are used as extended dialog button callbacks.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): keep
      	the list of extended actions in reverse order.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c: don't set the tooltips
      	manually. Removes another bunch of insane translatable multiline
      	format strings. Pass the extended actions in the right order
      	to gimp_editor_add_action_button().
      f4d7260c
    • Michael Natterer's avatar
      Ported the layers, channels and paths dialogs from · 8effb0cf
      Michael Natterer authored
      2004-10-16  Michael Natterer  <mitch@gimp.org>
      
      	Ported the layers, channels and paths dialogs from
      	gimp_editor_add_button() to gimp_editor_add_action_button(),
      	removing a massive amount of duplicated code, sensitivity logic
      	and confusing utility functions.
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: added "foo-new-default"
      	actions and callbacks which create items without a dialog,
      	optionally using default values from a passed template. Removed
      	all public utility function that were passed as function pointers
      	to widget construtors. Added tooltips to all actions which are now
      	used for dialog buttons.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button):
      	automatically create multi-line tooltips showing the modifiers for
      	extended action buttons. Removes the need for lots of insane
      	format strings that need to be translated correctly.
      
      	* app/widgets/gimpitemtreeview.[ch] (struct GimpItemTreeViewClass):
      	replaced tooltip and help_id strings by action names.
      
      	(struct GimpItemTreeView)
      	(gimp_item_tree_view_new): removed "edit", "new" and "activate"
      	function pointers.
      
      	(gimp_item_tree_view_constructor): create all buttons
      	with gimp_editor_add_action_button(), using the action names
      	from GimpItemTreeViewClass.
      
      	Removed tons of "clicked" callbacks and all code which sets the
      	buttons' sensitivity. They are not needed any longer.
      
      	Require all subclasses to implement GimpItemTreeView::new_item(),
      	a new virtual function which creates a plain new item without
      	showing a dialog.
      
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: fill in the action names and
      	implement GimpItemTreeView::new_item(). Removed all button
      	sensitivity logic.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly. Doesn't
      	include anything from actions/ any more.
      8effb0cf
  26. 23 May, 2004 1 commit
    • Michael Natterer's avatar
      reoedered to somehow reflect the class hierarchy. · 43cdd54d
      Michael Natterer authored
      2004-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: reoedered to somehow reflect the
      	class hierarchy.
      
      	Some dockable context handling cleanup:
      
      	* app/widgets/gimpdocked.[ch]: removed "prev_context" parameter
      	from GimpDocked::set_context(). Widgets which need the old context
      	to disconnect from should remember it themselves.
      
      	* app/widgets/gimpdockable.c (gimp_dockable_set_context): don't
      	pass the old context to gimp_docked_set_context().
      	Some cleanup.
      
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainereditor.c: changed accordingly.
      
      	* app/display/gimpnavigationview.[ch]
      	* app/widgets/gimpimageeditor.[ch]
      	* app/widgets/gimpitemtreeview.[ch]: added a "context" member
      	which holds the context set by GimpDocked::set_context().
      
      	* app/widgets/gimpdrawabletreeview.c: use the view's context
      	instead of gimp_get_user_context().
      
      	* app/widgets/gimpcoloreditor.[ch]: removed separate API to
      	set the context because it implements the GimpDockedInterface.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimperrorconsole.c: pass "menu-factory",
      	"menu-identifier" and "ui-path" to g_object_new() instead of
      	calling gimp_editor_create_menu() later.
      
      	Action cleanup partly related to the context stuff above:
      
      	* app/actions/actions.c (action_data_get_gimp): get the Gimp from
      	context->gimp, not gimage->gimp because gimage may be NULL.
      
      	(action_data_get_context): changed to use the new context members
      	added above.
      
      	* app/actions/channels-actions.c (channels_actions_update): cleanup.
      
      	* app/actions/edit-actions.c (edit_actions_update): fixed
      	sensitivity of "edit-undo-clear".
      
      	* app/actions/vectors-actions.c (vectors_actions_update): make
      	"vectors-merge-visible" sensitive only if there is more than one
      	GimpVectors in the image.
      
      	* app/actions/colormap-editor-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/palette-editor-actions.c: added FG/BG color previews
      	to actions which take colors from them. Changed code to be safe
      	against "context" being NULL.
      
      	* app/actions/drawable-commands.c:
      	s/active_drawable/drawable/g. Makes the code more readable.
      
      	* app/actions/select-commands.[ch]
      	* app/actions/vectors-commands.[ch]: removed public stroke utility
      	functions and other stuff which is not needed any more because
      	dialog buttons invoke the correct actions now. Moved the
      	functions' code to the resp. action callbacks.
      43cdd54d
  27. 03 May, 2004 1 commit
    • Michael Natterer's avatar
      added some utility functions to get a Gimp, GimpImage, GimpDisplay and · d745841e
      Michael Natterer authored
      2004-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.[ch]: added some utility functions to get a
      	Gimp, GimpImage, GimpDisplay and GtkWidget from the "data" pointer
      	passed to action callbacks.
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.c
      	* app/actions/drawable-actions.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.c
      	* app/actions/file-actions.c
      	* app/actions/file-commands.c
      	* app/actions/help-commands.c
      	* app/actions/image-actions.c
      	* app/actions/image-commands.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/plug-in-actions.c
      	* app/actions/plug-in-commands.c
      	* app/actions/qmask-actions.c
      	* app/actions/qmask-commands.c
      	* app/actions/select-actions.c
      	* app/actions/select-commands.c
      	* app/actions/tools-commands.c
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c: use the new functions instead of
      	duplicating insane macros and if() constructs over and over again.
      d745841e
  28. 02 May, 2004 2 commits
    • Michael Natterer's avatar
      renamed action "qmask-toggle" to "qmask-active" and added new action · 8895917d
      Michael Natterer authored
      2004-05-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/qmask-actions.c: renamed action "qmask-toggle" to
      	"qmask-active" and added new action "qmask-toggle" with a label
      	and shortcut suited for the "Select" menu.
      
      	* app/actions/select-actions.c: removed "select-toggle-qmask".
      
      	* app/actions/select-commands.[ch]: removed callback
      	select_toggle_quickmask_cmd_callback().
      
      	* app/actions/channels-actions.c (channels_actions_update)
      	* app/actions/vectors-actions.c (vectors_actions_update): handle
      	"data" being both GimpDisplay and GimpDisplayShell so the actions
      	can be used in the image menu.
      
      	* menus/image-menu.xml.in: s/select-toggle-qmask/qmask-toggle/.
      
      	* menus/qmask-menu.xml: s/qmask-toggle/qmask-active/.
      8895917d
    • Michael Natterer's avatar
      added help IDs to all actions representing the toplevel popups and menus · 9377b26e
      Michael Natterer authored
      2004-05-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/*-actions.c: added help IDs to all actions
      	representing the toplevel popups and menus (as fallbacks for the
      	still-to-be-written help system intrgration of GimpUIManager).
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): removed
      	call to gtk_ui_manager_ensure_update() because that's done by
      	gimp_ui_manager_ui_get() now.
      
      	* app/widgets/gimpmenufactory.[ch]: removed API to register and
      	create item factories.
      
      	* app/gui/menus.c: changed accordingly.
      
      	* app/gui/dialogs.c
      	* app/actions/plug-in-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdockbook.[ch]
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimpitemtreeview.c: removed leftover item factory
      	cruft.
      
      	* app/widgets/widgets-types.h: removed item factory typedefs...
      
      	* app/widgets/gimpitemfactory.h: ...and added them here.
      
      	* app/widgets/gimpactiongroup.[ch]: added new function
      	gimp_action_group_add_plug_in_actions().
      
      	* app/actions/plug-in-actions.c: use it here instead of adding
      	the actions manually.
      
      	* app/widgets/gimptoolbox.c: ported the code which dynamically
      	updates the tool button tooltips on accelerator changes to
      	GtkAction. Disabled the whole stuff because GTK+ lacks
      	gtk_action_get_accel_closure().
      9377b26e
  29. 27 Apr, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass · aae726ee
      Michael Natterer authored
      2004-04-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppluginaction.[ch]: new GtkAction subclass which
      	remembers the PlugInProcDef.
      
      	* app/widgets/gimpactiongroup.[ch]: added "gpointer user_data" to
      	the GimpActionGroup struct and to gimp_action_group_new(). Removed
      	the user_data parameter from gimp_action_group_add_*_actions().
      
      	* app/widgets/gimpactionfactory.[ch]: changed accordingly.
      
      	* app/actions/*-actions.[ch]: removed user_data from all setup_funcs.
      
      	* app/actions/plug-in-actions.c: use a GimpPlugInAction and
      	finally use the right user_data for the callback so plug-in
      	callbacks have a proper context.
      
      	* app/gui/plug-in-menus.[ch]: renamed plug_in_menus_create2() to
      	plug_in_menus_setup().
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: changed accordingly.
      aae726ee
  30. 22 Apr, 2004 1 commit
    • Michael Natterer's avatar
      implemented gimp_action_group_set_action_color() and · 42f79826
      Michael Natterer authored
      2004-04-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: implemented
      	gimp_action_group_set_action_color() and
      	gimp_action_group_set_action_viewable().
      
      	* app/actions/*-actions.c: added stock IDs to all actions which
      	represent toplevel popup menus. Fixed typos.
      
      	* menus/brushes-menu.xml
      	* menus/colormap-editor-menu.xml
      	* menus/dockable-menu.xml
      	* menus/gradients-menu.xml
      	* menus/patterns-menu.xml
      	* menus/toolbox-menu.xml: fixed typos.
      42f79826
  31. 21 Apr, 2004 1 commit
    • Michael Natterer's avatar
      forgot to register the "patterns" actions. · 2c601c7d
      Michael Natterer authored
      2004-04-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.c: forgot to register the "patterns" actions.
      
      	* app/actions/*-actions.c: added actions representing the toplevel
      	menus (popups and menubars). Fixed some typos.
      
      	* menus/*-menu.xml: added action="foo" attributes to all toplevel
      	menus. Fixed typos here too.
      
      	* menus/gtkuimanager.dtd: fixed possible attributes.
      2c601c7d
  32. 20 Apr, 2004 1 commit
    • Michael Natterer's avatar
      removed... · 661f6dde
      Michael Natterer authored
      2004-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/*-commands.[ch]: removed...
      
      	* app/actions/*-commands.[ch]: ...and added here.
      
      	* app/gui/Makefile.am
      	* app/gui/*-menu.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/actions/Makefile.am
      	* app/actions/*-actions.c: changed accordingly.
      
      	* app/actions/plug-in-actions.[ch]
      	* app/actions/tools-actions.[ch]: new files.
      
      	* app/Makefile.am: had to add more -u evilness because gui/
      	and actions/ have cyclic dependencies.
      
      	* menus/image-menu.xml: added some more items.
      661f6dde
  33. 19 Apr, 2004 1 commit
    • Michael Natterer's avatar
      More GtkAction stuff (still unused): · 8848558f
      Michael Natterer authored
      2004-04-19  Michael Natterer  <mitch@gimp.org>
      
      	More GtkAction stuff (still unused):
      
      	* configure.in: added new directories menus/ and app/actions/
      
      	* Makefile.am: build menus/
      
      	* menus/.cvsignore
      	* menus/Makefile.am
      	* menus/*-menu.xml: new files: XML menu descriptions for each menu
      	which is now defined in gui/*-menu.c.
      
      	* app/widgets/widgets-types.h: some typedefs for GimpActionGroup.
      
      	* app/widgets/gimpactiongroup.[ch]: added a "Gimp" construct-only
      	property. Added APIs to set actions visible/sensitive/active
      	and an unimplemented stub for setting the action's color.
      
      	* app/Makefile.am: build actions/ and link libappactions.a
      
      	* app/actions/.cvsignore
      	* app/actions/Makefile.am
      	* app/actions/*-actions.[ch]: new files: GtkActions for each
      	*-commands.c file in gui/. Ported all "update" functions from the
      	*-menu.c files.
      	(everything completely unused, untested and partly #if 0'ed)
      
      	* app/core/gimpimage.[ch]: for reasons of (action-) symmetry, added
      	API to raise/lower channels/vectors to top/bottom.
      
      	* app/gui/channels-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added callbacks for the new
      	to top/bottom functions.
      
      	* app/gui/Makefile.am
      	* app/gui/dockable-commands.[ch]: new files split out of
      	dialogs-commands.[ch].
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/dialogs-menu.c: changed accordingly.
      
      	* app/gui/edit-commands.[ch]: added edit_paste_into_cmd_callback()
      	and remove usage of "guint action".
      
      	* app/gui/image-menu.c: changed accordingly.
      
      	* app/gui/palette-editor-commands.[ch]: split
      	+palette_editor_new_color_cmd_callback() into separate callbacks
      	for adding from FG and BG.
      
      	* app/gui/palette-editor-menu.c: changed accordingly.
      8848558f