gimp/app/menus
Michael Natterer 88dedcc424 Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
2006-06-16  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
	<ColormapEditor>:

	* app/pdb/gimppluginprocedure.c
	(gimp_plug_in_procedure_add_menu_path): added the argument type
	checks for the new locations. Factored out duplicated code.

	* app/menus/menus.c (menus_init): add the "plug-in" action
	group to the resp. UI managers.

	* app/menus/plug-in-menus.c (plug_in_menus_menu_path_added):
	support them here too.

	* app/widgets/gimpimageeditor.[ch]
	* app/widgets/gimpitemtreeview.[ch]: added get_image() functions.

	* app/actions/plug-in-commands.c: added new utility functions
	which collect plug-in arguments from GimpImageEditor and
	GimpItemTreeView widgets.

	* menus/channels-menu.xml
	* menus/colormap-editor-menu.xml
	* menus/layers-menu.xml
	* menus/vectors-menu.xml: added separators.

	* menus/image-menu.xml.in: added a "Colormap" placeholder in
	Colors/Map

	* plug-ins/common/colormap-remap.c (query): register a menu
	entry in <ColormapEditor> and moved the existing one to the
	"Colormap" placeholder. Also register an icon to make this
	menu item clearly distinct from the others in that menu.

	Unrelated:

	* plug-ins/common/colormap-remap.c (run): cleaned up quite a
	bit. Fixed last-vals code and simplified map handling.

	(remap_swap): removed, folded into run().

	(remap_dialog): use the passed map to initialize the dialog so it
	starts with the last-vals. Tweaked layout to have 16 columns
	and simplified cell renderer creation.
2006-06-16 17:02:14 +00:00
..
.cvsignore configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
Makefile.am check for gthread-2.0 unless the --disable-mp option is given. 2005-02-13 15:08:08 +00:00
dockable-menu.c app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
dockable-menu.h app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
file-menu.c added new PDB function gimp_register_file_handler_mime() that allows to 2004-05-14 00:01:11 +00:00
file-menu.h added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
image-menu.c app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
image-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
makefile.msc TILE_WIDTH is used unconditionally so always include "tile.h" WIN32 needs 2005-02-19 00:50:36 +00:00
menus-types.h removed enum GimpContextSelectType. 2004-06-23 00:23:25 +00:00
menus.c Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
menus.h Applied modified patch from Michael J. Hammel which allows to remove all 2006-05-11 12:29:57 +00:00
plug-in-menus.c Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
plug-in-menus.h new function which returns string arrays of all registered locale domains 2006-04-27 21:53:33 +00:00
tool-options-menu.c added "name" attributes to all submenus. 2004-05-13 15:50:55 +00:00
tool-options-menu.h added signal "update" which is G_SIGNAL_RUN_LAST, so handlers can hook in 2004-04-30 15:29:11 +00:00
toolbox-menu.c added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
toolbox-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
window-menu.c don't crash if gdk_display_get_name() returns NULL. 2005-11-26 23:03:40 +00:00
window-menu.h app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00