gimp/app/pdb
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 changed destdir for app-side PDB wrappers to app/pdb 2001-01-21 21:58:16 +00:00
Makefile.am app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
README Added another warning about autogenerated files 2001-01-21 22:28:16 +00:00
brush_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
brush_select_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
brushes_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
buffer_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
channel_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
color_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
context_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
convert_cmds.c tools/pdbgen/pdb/convert.pdb do not use enum values in C syntax to 2006-05-19 13:39:12 +00:00
display_cmds.c added "gboolean none_ok" members to GimpParamSpecImageID, 2006-05-06 18:57:51 +00:00
drawable_cmds.c turn c_style_procedure_names() in $proc->{help} into 2006-05-19 12:58:27 +00:00
drawable_transform_cmds.c tools/pdbgen/pdb/drawable_transform.pdb add the drawable's offset to the x 2006-05-23 11:11:06 +00:00
edit_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
fileops_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
floating_sel_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
font_select_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
fonts_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
gimp-pdb-compat.c added "gboolean none_ok" members to GimpParamSpecImageID, 2006-05-06 18:57:51 +00:00
gimp-pdb-compat.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
gimp-pdb.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
gimp-pdb.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
gimppdb-query.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
gimppdb-query.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
gimppdb.c use g_hash_table_replace() instead of g_hash_table_insert() and make sure 2006-05-23 22:41:05 +00:00
gimppdb.h Added some signals inspired by Rockwalrus' libpdb: 2006-04-27 19:36:13 +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
gimpprocedure.c removed erroneous semicolon after G_DEFINE_TYPE macros. 2006-05-15 09:46:31 +00:00
gimpprocedure.h changed parameter "gint display_ID" to "GimpObject *display". 2006-05-05 08:29:33 +00:00
gimprc_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +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
gradient_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
gradient_select_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
gradients_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
grid_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
guides_cmds.c added gimp_guide_get_ID(). 2006-06-07 15:49:59 +00:00
help_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
image_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
internal_procs.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
internal_procs.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
layer_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
makefile.msc updated dont include "config/gimpbaseconfig.c", it gives an redefinition 2006-05-13 17:05:15 +00:00
message_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
misc_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
paint_tools_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
palette_cmds.c added "has_alpha" to GimpParamSpecRGB. Made the GimpParamSpecRGB struct 2006-04-27 15:19:59 +00:00
palette_select_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
palettes_cmds.c added "has_alpha" to GimpParamSpecRGB. Made the GimpParamSpecRGB struct 2006-04-27 15:19:59 +00:00
parasite_cmds.c added "gboolean none_ok" members to GimpParamSpecImageID, 2006-05-06 18:57:51 +00:00
paths_cmds.c turn c_style_procedure_names() in $proc->{help} into 2006-05-19 12:58:27 +00:00
pattern_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
pattern_select_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
patterns_cmds.c app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
pdb-types.h app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all 2006-04-26 09:13:47 +00:00
plug_in_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
procedural_db_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
progress_cmds.c turn c_style_procedure_names() in $proc->{help} into 2006-05-19 12:58:27 +00:00
selection_cmds.c fixed documentation of gimp-selection-sharpen (bug #343911). 2006-06-05 20:36:21 +00:00
selection_tools_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
text_tool_cmds.c tools/pdbgen/app.pl removed code that used to fiddles with the argument 2006-05-18 17:25:15 +00:00
transform_tools_cmds.c tools/pdbgen/pdb/drawable_transform.pdb add the drawable's offset to the x 2006-05-23 11:11:06 +00:00
undo_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
unit_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00
vectors_cmds.c in help texts, refer to other procedures using_c_syntax(). This way 2006-06-14 08:32:08 +00:00

README

This directory contains the PDB-wrappers for various internal
Gimp functions.

THESE FILES ARE AUTOGENERATED AND CHANGES HERE ARE USELESS!

If you need to change the code please have a look in ../../tools/pdbgen/pdb.