1. 31 Oct, 2005 1 commit
    • Sven Neumann's avatar
      added new action command data_copy_location_cmd_callback(). · fb28e0be
      Sven Neumann authored
      2005-10-31  Sven Neumann  <sven@gimp.org>
      	* app/actions/data-commands.[ch]: added new action command
      	* app/actions/brushes-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/widgets/gimphelp-ids.h
      	* menus/brushes-menu.xml
      	* menus/gradients-menu.xml
      	* menus/palettes-menu.xml
      	* menus/patterns-menu.xml: added Copy Location menu entries to all
      	data views. Allows to retrieve the file location for data files.
  2. 26 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Allow plug-ins to register menu entries in the <Brushes>, <Gradients>, · 48cdc653
      Michael Natterer authored
      2005-09-26  Michael Natterer  <mitch@gimp.org>
      	Allow plug-ins to register menu entries in the <Brushes>,
      	<Gradients>, <Palettes>, <Patterns> and <Fonts> menus:
      	* app/actions/actions.c (action_data_get_gimp): return a Gimp
      	also if "data" is a GimpContainerView or GimpContainerEditor.
      	* app/gui/gui-vtable.c (gui_menus_add_proc)
      	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): support
      	the new plug-in menu locations.
      	* app/menus/menus.c (menus_init): add the "plug-in" action group
      	to the resp. UI managers.
      	* menus/brushes-menu.xml
      	* menus/buffers-menu.xml
      	* menus/fonts-menu.xml
      	* menus/gradients-menu.xml
      	* menus/palettes-menu.xml
      	* menus/patterns-menu.xml: added separators at the end of the menus.
      	* plug-ins/script-fu/scripts/font-map.scm: -> <Fonts>
      	* plug-ins/script-fu/scripts/gradient-example.scm: -> <Gradients>
      	* plug-ins/script-fu/scripts/mkbrush.scm: -> <Brushes>
      	* plug-ins/script-fu/script-fu.c (script_fu_extension_init): don't
      	register the "Make Brush" menu branch.
  3. 13 Jan, 2005 1 commit
    • Michael Natterer's avatar
      Allow to easily open brushes and patterns as images. Fixes bug #163059. · 0f4e2168
      Michael Natterer authored
      2005-01-13  Michael Natterer  <mitch@gimp.org>
      	Allow to easily open brushes and patterns as images.
      	Fixes bug #163059.
      	* app/actions/brushes-actions.c
      	* app/actions/patterns-actions.c: added "brushes-open-as-image"
      	and "patterns-open-as-image" actions.
      	* app/actions/data-commands.[ch]: added
      	data_open_as_image_cmd_callback() which tries to load
      	data->filename as image.
      	* app/widgets/gimphelp-ids.h: added help IDs for the new actions.
      	* app/widgets/gimpdatafactoryview.c: added buttons.
      	* menus/brushes-menu.xml
      	* menus/patterns-menu.xml: added them to the menus.
  4. 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
      	* 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.
  5. 19 Apr, 2004 2 commits
    • Sven Neumann's avatar
      menus/Makefile.am added a DTD (basically copied from the GTK+ API docs). · 957015e3
      Sven Neumann authored
      2004-04-19  Sven Neumann  <sven@gimp.org>
      	* menus/Makefile.am
      	* menus/gtkuimanager.dtd: added a DTD (basically copied from the
      	GTK+ API docs). Added a "validate" rule that allows to easily
      	validate the XML files.
      	* menus/*.xml: added a DOCTYPE declaration that refers to the
      	newly added DTD.
      	* app/widgets/gimpenumstore.[ch]:
      	* app/widgets/gimpenumcombobox.c: documented the new API.
    • 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
      	* 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.