gimp/app/plug-in
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 added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
Makefile.am Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimpenvirontable.c Free the string vector returned by g_listenv(). 2006-06-13 18:06:07 +00:00
gimpenvirontable.h automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
gimpinterpreterdb.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpinterpreterdb.h automatically removed trailing whitespace from 3460 lines. 2006-01-17 12:43:50 +00:00
gimpplugin-context.c Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimpplugin-context.h Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimpplugin-message.c cleaned up a bit. 2006-05-04 21:49:04 +00:00
gimpplugin-message.h Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimpplugin-progress.c Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimpplugin-progress.h Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimpplugin.c removed debugging output. 2006-05-15 10:31:04 +00:00
gimpplugin.h remove member "name" and unused cruft "ref_count". Reordered other members 2006-05-04 11:58:10 +00:00
gimpplugindebug.c remove member "name" and unused cruft "ref_count". Reordered other members 2006-05-04 11:58:10 +00:00
gimpplugindebug.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-call.c Added basic framework for plug-ins to access the use_cpu_accel 2006-06-01 15:34:58 +00:00
gimppluginmanager-call.h changed parameter "gint display_ID" to "GimpObject *display". 2006-05-05 08:29:33 +00:00
gimppluginmanager-data.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-data.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-file.c Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimppluginmanager-file.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-help-domain.c restore the strict checks on string arrays. 2006-05-04 10:03:53 +00:00
gimppluginmanager-help-domain.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-locale-domain.c NULL-terminate the locale_domains and locale_paths string vectors, as they 2006-04-28 23:45:51 +00:00
gimppluginmanager-locale-domain.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-menu-branch.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-menu-branch.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-query.c app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager-query.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimppluginmanager.c indentation. 2006-05-16 11:43:55 +00:00
gimppluginmanager.h added signals "plug-in-opened" and "plug-in-closed". Added functions 2006-05-04 22:51:21 +00:00
gimppluginprocedure.c Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
gimppluginprocedure.h changed enum PlugInImageType to GimpPlugInImageType. 2006-05-08 13:18:02 +00:00
gimppluginprocframe.c Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimppluginprocframe.h Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
gimppluginshm.c cleaned up a bit. 2006-05-04 21:49:04 +00:00
gimppluginshm.h app/plug-in/Makefile.am app/plug-in/plug-in-types.h new object which keeps 2006-04-28 22:26:51 +00:00
gimptemporaryprocedure.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimptemporaryprocedure.h Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00
makefile.msc updated dont include "config/gimpbaseconfig.c", it gives an redefinition 2006-05-13 17:05:15 +00:00
plug-in-def.c set the mtime of all the plug_in_def's procedures too. 2006-04-08 23:12:06 +00:00
plug-in-def.h ref all registered procedures. 2006-04-07 08:16:26 +00:00
plug-in-enums.c changed enum PlugInImageType to GimpPlugInImageType. 2006-05-08 13:18:02 +00:00
plug-in-enums.h changed enum PlugInImageType to GimpPlugInImageType. 2006-05-08 13:18:02 +00:00
plug-in-params.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
plug-in-params.h removed this function. We only have shallow GPParam arrays in the core 2006-04-09 17:19:58 +00:00
plug-in-rc.c app/*.[ch] converted tabs to spaces. 2006-04-12 12:49:29 +00:00
plug-in-rc.h return a GSList* of PlugInDefs instead of a boolean. Don't return anything 2006-04-09 12:33:32 +00:00
plug-in-types.h Made an object out of the plug-in struct. Also change refcounting 2006-05-03 18:05:06 +00:00