1. 15 Jun, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/Makefile.am app/actions/context-actions.[ch] added new action · 8ab1ae98
      Michael Natterer authored
      2004-06-15  Michael Natterer  <mitch@gimp.org>
      	* app/actions/Makefile.am
      	* app/actions/context-actions.[ch]
      	* app/actions/context-commands.[ch]: added new action group to
      	modify all GimpContext properties. So far there are actions to
      	cycle through the lists of brushes, patterns etc., to change the
      	opacity, to swap and default colors and to edit generated brushes.
      	* app/actions/actions.c: register the new "context" action group.
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: removed "tools-default-colors"
      	and "tools-swap-colors" actions and callbacks because they are
      	in the "context" action group now.
      	* app/menus/menus.c: add the "context" group to the <Image> and
      	<Dock> UI managers.
      	* menus/image-menu.xml.in: changed accordingly. Added a temporary
      	"Context" menu to test and debug the new actions.
  2. 02 Jun, 2004 1 commit
  3. 02 May, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/Makefile.am new files containing factored out code to set up · bdec5cc5
      Michael Natterer authored
      2004-05-02  Michael Natterer  <mitch@convergence.de>
      	* app/actions/Makefile.am
      	* app/actions/file-dialog-actions.[ch]: new files containing
      	factored out code to set up the <Load> and <Save> actions.
      	Use GimpPlugInActions instead of just GtkActions.
      	* app/actions/file-dialog-commands.[ch]: new files containing
      	file_dialog_type_cmd_callback() which is a
      	GimpPlugInAction::selected() callback now.
      	* app/actions/file-commands.[ch]: removed the callback here.
      	* app/actions/file-open-actions.c
      	* app/actions/file-save-actions.c: removed code duplication and
      	use file_dialog_actions_setup() instead.
  4. 29 Apr, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/Makefile.am app/actions/file-open-actions.[ch] actions for the · 0e1af3ee
      Michael Natterer authored
      2004-04-29  Michael Natterer  <mitch@gimp.org>
      	* app/actions/Makefile.am
      	* app/actions/file-open-actions.[ch]
      	* app/actions/file-save-actions.[ch]: actions for the <Load> and
      	<Save> menus...
      	* menus/Makefile.am
      	* menus/file-open-menu.xml
      	* menus/file-save-menu.xml: ...and the menus.
      	* app/gui/file-open-menu.[ch]
      	* app/gui/file-save-menu.[ch]: ported to UI Manager.
      	* app/widgets/gimpfiledialog.[ch]: ditto.
      	* app/actions/actions.c
      	* app/gui/menus.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: changed accordingly.
      	* app/widgets/gimpuimanager.c: removed debugging code which
      	automatically loaded all registered menus. They are now loaded on
  5. 20 Apr, 2004 2 commits
    • Michael Natterer's avatar
      More unused action stuff: · 27a2c8c0
      Michael Natterer authored
      2004-04-21  Michael Natterer  <mitch@gimp.org>
      	More unused action stuff:
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpactionfactory.[ch]: added a simple factory which
      	produces GimpActionGroups.
      	* app/widgets/gimpactiongroup.[ch]: added an "update_func" member
      	to the GimpActionGroup struct. Added it as parameter to
      	gimp_action_group_new(). Added function gimp_action_group_update().
      	* app/widgets/gimpmenufactory.[ch]: added an "action_factory"
      	member and constructor parameter. Added code to create
      	GtkUIManagers from registered action group identifiers.
      	* app/actions/Makefile.am
      	* app/actions/actions.[ch]: new files: create a
      	"global_action_factory" and register all action groups with it.
      	* app/actions/edit-actions.c: s/edit_action_update/edit_actions_update/
      	* app/actions/plug-in-actions.[ch]: added API to add/remove
      	plug-in procedure actions dynamically (unfinished).
      	* app/gui/menus.c (menus_init): call actions_init().
      	(menus_exit): call actions_exit().
    • 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.
  6. 19 Apr, 2004 2 commits
    • Michael Natterer's avatar
      app/actions/Makefile.am oops, forgot to commit this one. · a4f6eca8
      Michael Natterer authored
      2004-04-19  Michael Natterer  <mitch@gimp.org>
      	* app/actions/Makefile.am
      	* app/actions/actions-types.h: oops, forgot to commit this one.
    • 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.