gimp/plug-ins
Michael Natterer ca179a7757 Changed plug-in menu registration again to allow passing just the menu
2004-05-07  Michael Natterer  <mitch@gimp.org>

	Changed plug-in menu registration again to allow passing just the
	menu item's label (not the full path) in gimp_install_procedure()
	and only the path (excluding the item's label) in
	gimp_plugin_menu_register(). Matches the internal action system
	better and makes translating the menu paths much easier.

	(Of yourse it's still possible to use the old syntax for backward
	compatibility).

	* app/plug-in/plug-in-proc.[ch]: added "gchar *menu_label".

	* app/plug-in/plug-in-params.[ch]: added new functions
	plug_in_param_defs_check() and plug_in_proc_args_check() which
	check if a procedure's parameters match its menu location
	(e.g. <Image> needs RUN-MODE, IMAGE, DRAWABLE).

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): if
	registering an old-style (full) menu_path, use
	plug_in_param_defs_check(), set proc_def->menu_label otherwise.

	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): use
	plug_in_proc_args_check() on the passed menu_path and make sugre
	old and new style menu registration are not mixed.

	* app/pdb/plug_in_cmds.c: regenerated.

	* app/plug-in/plug-in-rc.c: save/restore "menu_label".

	* app/actions/file-dialog-actions.c
	* app/actions/plug-in-actions.c
	* app/menus/plug-in-menus.c: changed action/menu creation
	accordingly. Some hacks needed to allow both old and new style
	menu_label/menu_paths.

	* app/plug-in/plug-in.c
	* app/widgets/gimpfiledialog.c
	* app/xcf/xcf.c: changed accordingly.

	* plug-ins/common/align_layers.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/autocrop.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/decompose.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/destripe.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/displace.c
	* plug-ins/common/edge.c
	* plug-ins/common/emboss.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/screenshot.c: ported the first few plug-ins
	to the new registration scheme.
2004-05-07 00:30:24 +00:00
..
FractalExplorer plug-ins/FractalExplorer/Dialogs.c plug-ins/flame/flame.c first plug-ins 2004-04-15 16:58:21 +00:00
Lighting libgimp/gimpdrawablecombobox.c libgimp/gimpimagecombobox.c changed the 2004-04-21 16:50:13 +00:00
MapObject libgimp/gimpdrawablecombobox.c libgimp/gimpimagecombobox.c changed the 2004-04-21 16:50:13 +00:00
bmp modernized, made a lot of things m4 macros, and made versioning a lot more 2004-01-22 03:51:46 +00:00
common Changed plug-in menu registration again to allow passing just the menu 2004-05-07 00:30:24 +00:00
dbbrowser stripped the menu paths from the "menu_path". Will be renamed to 2004-04-29 13:19:28 +00:00
faxg3 modernized, made a lot of things m4 macros, and made versioning a lot more 2004-01-22 03:51:46 +00:00
fits Update the Plugin Menu immediately after setting the last invoked plugin. 2004-03-16 01:12:21 +00:00
flame plug-ins/flame/flame.c ported the last two users of gimpmenu.h to 2004-04-21 23:09:16 +00:00
fp Added forgotten include in fp.c. Speed doubled in Sobel plug-in by using smarter macro for RMS. 2004-05-06 20:51:49 +00:00
gfig plug-ins/common/align_layers.c plug-ins/common/borderaverage.c 2004-04-20 12:21:17 +00:00
gflare ported the last plug-in from GtkOptionMenu to GimpIntComboBox. 2004-04-22 16:56:27 +00:00
gfli modernized, made a lot of things m4 macros, and made versioning a lot more 2004-01-22 03:51:46 +00:00
gimp_ace pulled new sources from gle (containing a fix for kelly's justify==FILL 2000-02-07 04:10:09 +00:00
gimpressionist plug-ins/flame/flame.c ported the last two users of gimpmenu.h to 2004-04-21 23:09:16 +00:00
help Use -mwindows on Windows to avoid a console window popping up. 2004-03-27 01:09:00 +00:00
helpbrowser trivial change not worth mentioning 2004-04-16 14:34:40 +00:00
ifscompose plug-ins/flame/flame.c ported the last two users of gimpmenu.h to 2004-04-21 23:09:16 +00:00
imagemap plug-ins/imagemap/imap_cern_parse.c plug-ins/imagemap/imap_csim_parse.c 2004-04-13 20:40:28 +00:00
jpeg libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h 2004-04-20 00:01:57 +00:00
libgimpoldpreview Cleaned up the remaining libgimp API issues: 2004-03-12 22:46:25 +00:00
maze remove unused variable randomize. 2004-02-03 19:23:43 +00:00
pagecurl Corrected the pairing of gimp_drawable_get/gimp_drawable_detach and other 2004-02-17 19:56:13 +00:00
print Enabled multiple menu entries per plug-in procedure: 2004-05-06 13:51:56 +00:00
pygimp Quick fix to make uppercase tags work properly. 2004-04-29 16:09:09 +00:00
rcm plug-ins/rcm/rcm_callback.[ch] ported from GtkOptionMenu to 2004-04-22 15:54:59 +00:00
script-fu removed "translation-domain" property and simply use gettext(). Plug-In 2004-04-27 12:51:08 +00:00
sel2path modernized, made a lot of things m4 macros, and made versioning a lot more 2004-01-22 03:51:46 +00:00
sgi modernized, made a lot of things m4 macros, and made versioning a lot more 2004-01-22 03:51:46 +00:00
twain modernized, made a lot of things m4 macros, and made versioning a lot more 2004-01-22 03:51:46 +00:00
uri plug-ins/common/mail.c use more already translated standard file error 2004-01-20 11:24:14 +00:00
winicon app/gui/dialogs-constructors.c silent the compiler. 2004-04-22 17:38:14 +00:00
winsnap renamed gimp_plugin_menu_add() to gimp_plugin_menu_register() for 2004-05-06 14:23:21 +00:00
xjt modernized, made a lot of things m4 macros, and made versioning a lot more 2004-01-22 03:51:46 +00:00
.cvsignore shut up CVS 2000-08-26 12:52:38 +00:00
Makefile.am configure.in plug-ins/Makefile.am plug-ins/winicon/Makefile.am 2004-04-15 18:39:48 +00:00
makefile.msc updated 2004-03-07 23:13:51 +00:00