gimp/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 menus/Makefile.am new file that holds menuitems that appear in several 2004-05-02 10:41:28 +00:00
Makefile.am Let the data editors optionally follow the active brush, palette and 2005-10-25 21:38:00 +00:00
brush-editor-menu.xml Let the data editors optionally follow the active brush, palette and 2005-10-25 21:38:00 +00:00
brushes-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
buffers-menu.xml Allow plug-ins to register menu entries in the <Brushes>, <Gradients>, 2005-09-26 10:36:07 +00:00
channels-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
colormap-editor-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
colormap-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
cursor-info-menu.xml added boolean "sample-merged" property, API and GUI. Pick from the active 2005-07-08 22:54:46 +00:00
dialogs-menuitems.xml added new signals "sample-point-added" and "sample-point-removed" and 2005-04-03 15:48:03 +00:00
dockable-menu.xml.in app/actions/dock-actions.c app/actions/view-actions.c 2005-11-24 00:39:12 +00:00
documents-menu.xml app/actions/documents-actions.c app/actions/documents-commands.[ch] 2005-07-07 21:49:35 +00:00
error-console-menu.xml app/actions/error-console-commands.[ch] app/widgets/gimphelp-ids.h added 2006-06-07 13:47:55 +00:00
fonts-menu.xml Allow plug-ins to register menu entries in the <Brushes>, <Gradients>, 2005-09-26 10:36:07 +00:00
gradient-editor-menu.xml Let the data editors optionally follow the active brush, palette and 2005-10-25 21:38:00 +00:00
gradients-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
gtkuimanager.dtd forgot to register the "patterns" actions. 2004-04-21 16:10:00 +00:00
image-menu.xml.in Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
images-menu.xml forgot to register the "patterns" actions. 2004-04-21 16:10:00 +00:00
layers-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
makefile.msc build menus with nmake, too menus/Makefile.am : added to EXTRA_DIST 2005-04-24 15:39:15 +00:00
menus.xsl menus/Makefile.am menus/menus.xsl readded the Debug menu but changed the 2005-06-26 23:47:13 +00:00
palette-editor-menu.xml Let the data editors optionally follow the active brush, palette and 2005-10-25 21:38:00 +00:00
palettes-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
patterns-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
quick-mask-menu.xml Did a global s/qmask/quick-mask/: 2005-09-19 12:44:06 +00:00
sample-point-editor-menu.xml added "sample-merged" property and API. Pass it to 2005-07-09 11:23:15 +00:00
sample-points-menu.xml added "sample-merged" property and API. Pass it to 2005-07-09 11:23:15 +00:00
selection-editor-menu.xml added alternative actions "vectors-selection-from-vectors" and 2004-06-03 09:47:05 +00:00
selection-menu.xml added alternative actions "vectors-selection-from-vectors" and 2004-06-03 09:47:05 +00:00
templates-menu.xml forgot to register the "patterns" actions. 2004-04-21 16:10:00 +00:00
text-editor-toolbar.xml Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
tool-options-menu.xml added "name" attributes to all submenus. 2004-05-13 15:50:55 +00:00
toolbox-menu.xml.in Move the script categories that were in Xtns->Script-Fu 2005-10-16 17:57:40 +00:00
tools-menu.xml Started making the toolbox configurable. Addresses bug #105764. Not 2004-05-10 00:41:57 +00:00
undo-editor-menu.xml app/actions/edit-actions.c app/menus/menus.c app/widgets/gimpundoeditor.c 2005-09-05 19:31:28 +00:00
undo-menu.xml app/actions/edit-actions.c app/menus/menus.c app/widgets/gimpundoeditor.c 2005-09-05 19:31:28 +00:00
vectors-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00