1. 12 Jul, 2004 1 commit
  2. 31 May, 2004 1 commit
    • Sven Neumann's avatar
      app/Makefile.am app/actions/file-actions.c app/actions/file-commands.[ch] · a03ad36c
      Sven Neumann authored
      2004-05-31  Sven Neumann  <sven@gimp.org>
      	* app/Makefile.am
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]
      	* app/gui/Makefile.am
      	* app/gui/file-open-location-dialog.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: added a rudimentary "Open Location"
  3. 25 May, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/file-actions.c removed action "file-new", added action · fe03c384
      Michael Natterer authored
      2004-05-25  Michael Natterer  <mitch@gimp.org>
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: removed action "file-new", added
      	action "file-open-from-image".
      	* app/actions/image-actions.c
      	* app/actions/image-commands.[ch]: added actions "image-new" and
      	* menus/image-menu.xml.in: use the "-from-image" variants of
      	the "new" and "open" actions so the dialogs are preconfigured
      	from the image they were invoked from (regression fix).
      	* menus/toolbox-menu.xml.in: s/file-new/image-new/.
  4. 06 May, 2004 1 commit
    • Michael Natterer's avatar
      Enabled multiple menu entries per plug-in procedure: · 7b943b64
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      	Enabled multiple menu entries per plug-in procedure:
      	* app/plug-in/plug-in-proc.[ch]: changed "gchar *menu_path" to
      	"GList *menu_paths".
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/menus/menus.c
      	* app/widgets/gimpfiledialog.c
      	* app/xcf/xcf.c: changed accordingly.
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: create an action for the first
      	element of proc_def->menu_paths.
      	* app/gui/gui-vtable.c
      	* app/menus/plug-in-menus.[ch]: create proxy widgets for each
      	element of proc_def->menu_paths.
      	* tools/pdbgen/pdb/plug_in.pdb: added new function
      	gimp_plugin_menu_add() which can be called during query() and adds
      	a menu path to a procedure registered by the calling plugin.
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: added lots of <placeholder>s for
      	logical groups (like Image/Resize, Image/Scale, Image/Crop
      	etc.). Added empty placeholder File/Send for stuff like print and
      	mail. Added an "Acquire" menu under <Image>/File
      	* plug-ins/common/mail.c
      	* plug-ins/print/print.c
      	* plug-ins/common/winprint.c: register under File/Send.
      	* plug-ins/common/screenshot.c
      	* plug-ins/winsnap/winsnap.c: also register under
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/zealouscrop.c: register additional menu entries
      	under placeholders in the "Image" and "Layer" menus. This is not
      	meant to be final but just a hint to keep in mind when
      	reorganizing the plug-in menus.
  5. 05 May, 2004 1 commit
  6. 02 May, 2004 2 commits
    • Sven Neumann's avatar
      menus/image-menu.xml.in menus/tool-options-menu.xml use empty elements for · b9b3134a
      Sven Neumann authored
      2004-05-02  Sven Neumann  <sven@gimp.org>
      	* menus/image-menu.xml.in
      	* menus/tool-options-menu.xml
      	* menus/toolbox-menu.xml.in: use empty elements for empty menus.
      	Makes the XML somewhat easier to read.
    • Sven Neumann's avatar
      menus/Makefile.am new file that holds menuitems that appear in several · 2fb04d1e
      Sven Neumann authored
      2004-05-02  Sven Neumann  <sven@gimp.org>
      	* menus/Makefile.am
      	* menus/dialogs-menuitems.xml: new file that holds menuitems that
      	appear in several places.
      	* menus/dockable-menu.xml.in: new file used to generate
      	* menus/toolbox-menu.xml.in: new file used to generate
      	* menus/image-menu.xml.in: include dialogs-menuitems.xml.
      	* menus/menus.xsl: allow inclusion of menuitems using XInclude.
  7. 29 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Switch from GtkItemFactory to GtkUIManager. The migration is almost · 46542801
      Michael Natterer authored
      2004-04-29  Michael Natterer  <mitch@gimp.org>
      	Switch from GtkItemFactory to GtkUIManager. The migration is
      	almost complete, still stuff missing/incomplete, definitely added
      	a bunch of new bugs...
      	* app/actions/*-commands.[ch]: converted all callback from
      	GtkItemFactory callbacks to GtkAction callbacks.
      	* app/actions/debug-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/help-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/qmask-actions.c
      	* app/actions/tool-options-actions.c: various fixes.
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: move everything from
      	GtkItemFactory to GtkUIManager.
      	* app/gui/dialogs.[ch]: added new function dialogs_get_toolbox().
      	Needed because the action callbacks don't have a widget parameter
      	and sometimes we need a parent window for showing dialogs.
      	* app/gui/Makefile.am
      	* app/gui/brushes-menu.[ch]
      	* app/gui/buffers-menu.[ch]
      	* app/gui/channels-menu.[ch]
      	* app/gui/colormap-editor-menu.[ch]
      	* app/gui/dialogs-menu.[ch]
      	* app/gui/documents-menu.[ch]
      	* app/gui/error-console-menu.[ch]
      	* app/gui/fonts-menu.[ch]
      	* app/gui/gradient-editor-menu.[ch]
      	* app/gui/gradients-menu.[ch]
      	* app/gui/images-menu.[ch]
      	* app/gui/layers-menu.[ch]
      	* app/gui/palette-editor-menu.[ch]
      	* app/gui/palettes-menu.[ch]
      	* app/gui/patterns-menu.[ch]
      	* app/gui/qmask-menu.[ch]
      	* app/gui/templates-menu.[ch]
      	* app/gui/vectors-menu.[ch]: removed these files.
      	* app/gui/gui.c: create a global UI manager for the image popup
      	menu and the toolbox menubar.
      	* app/gui/menus.[ch]: removed all GtkItemFactory code.
      	* app/gui/image-menu.[ch]
      	* app/gui/toolbox-menu.[ch]: removed everything except the trivial
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/tool-options-menu.c: don't use the macros from menus.h
      	any more, they are gone.
      	* app/gui/gui-vtable.c
      	* app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in
      	menu entries.
      	* app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/
      	* app/widgets/gimpuimanager.[ch]: added API to get an action
      	group by name.
      	* app/widgets/gimpmenufactory.c: don't choke on the item_factory
      	entries being NULL.
      	* app/widgets/gimpactiongroup.c: make sure booleans set using
      	g_object_set() only have TRUE or FALSE values.
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory
      	code and enable the #if 0'ed UI manager stuff.
      	* menus/gradient-editor-menu.xml: fixed typos.
      	* menus/image-menu.xml: duplicate everything so we have both
      	an image menubar and an image popup menu. Badly cries for an
      	XSL processor.
      	* menus/toolbox-menu.xml: added an "Extensions" placeholder.
  8. 27 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Correctly translated & sorted plug-in actions & menu entries: · 4e8105c1
      Michael Natterer authored
      2004-04-27  Michael Natterer  <mitch@gimp.org>
      	Correctly translated & sorted plug-in actions & menu entries:
      	* app/widgets/gimpuimanager.[ch]: added a "gchar *name" property
      	and a hash table which keeps all created UI managers (similar to
      	GimpActionGroup's hash table). Added function
      	gimp_ui_managers_from_name() which returns a list of all managers
      	with the given name.
      	* app/widgets/gimpmenufactory.c: register a name per UI manager
      	and pass the name to gimp_ui_manager_new().
      	* app/actions/plug-in-actions.c: added code which correctly
      	translates the created plug-in actions and also creates translated
      	menu actions for the plug-in's menu_path elements.
      	* app/gui/plug-in-menus.[ch]: sort the plug-ins' menu entries
      	using a GTree. For each entry, recursivlely create submenus
      	from the dynamic menu actions created above before creating
      	the plug-in's menu entry itself.
      	* app/gui/image-menu.c (image_menu_setup2)
      	* app/gui/toolbox-menu.c (toolbox_menu_setup2): call
      	* app/gui/gui-vtable.c (gui_menus_create_entry)
      	(gui_menus_delete_entry): added some uglyness which maps old <Prefix>
      	menu identifiers to new-style UI manager plus ui_path tuples and
      	call plug_in_menus_add,remove_proc() accordingly.
      	* menus/image-menu.xml
      	* menus/toolbox-menu.xml: added name="Foo" attributes to all menus
      	so plug-in entries find their place.
  9. 26 Apr, 2004 1 commit
    • Michael Natterer's avatar
      added GimpUIManagerSetupFunc typedef. · bb0f359a
      Michael Natterer authored
      2004-04-26  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/widgets-types.h: added GimpUIManagerSetupFunc typedef.
      	* app/widgets/gimpuimanager.[ch]: added the setup_func to the
      	GimpUIManagerUIEntry struct and to gimp_ui_manager_ui_register().
      	Call the setup_func after creating the UI. Replaced the term
      	"identifier" by "ui_path".
      	* app/widgets/gimpmenufactory.c: ditto.
      	* app/gui/menus.c (menus_init): register the new setup_funcs below.
      	* app/gui/menus.[ch] (menus_open_recent_add)
      	* app/gui/image-menu.[ch] (image_menu_setup2)
      	* app/gui/toolbox-menu.[ch] (toolbox_menu_setup2): new setup_funcs
      	which add the "Open Recent" menu items.
      	* app/actions/file-actions.c: removed "file-open-recent-empty"
      	action because it's not needed.
      	* menus/image-menu.xml
      	* menus/toolbox-menu.xml: removed "file-open-recent-empty" menu
      	items and added <placeholder>s for the "Open Recent" menu items.
  10. 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.
  11. 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.
  12. 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
      added the toolbox menu. · 3d6f5370
      Michael Natterer authored
      2004-04-19  Michael Natterer  <mitch@gimp.org>
      	* menus/toolbox-menu.xml: added the toolbox menu.