gimp/app
Michael Natterer d871be74bf Made plug-in menu registration work the same way for ordinary and
2004-11-17  Michael Natterer  <mitch@gimp.org>

	Made plug-in menu registration work the same way for ordinary and
	temporary procedures. Addresses bug #158117.

	* app/core/gimp-gui.[ch]: added "const gchar *menu_path" to
	gimp_menus_create_entry().

	* app/gui/gui-vtable.c (gui_menus_create_entry): if menu_path is
	NULL, behave as before and create an action and its menu entries
	for all the procedure's menu_paths. If it is non-NULL, skip action
	creation and create a menu entry just for that path.

	* app/plug-in/plug-ins.c (plug_ins_temp_proc_def_add): call
	gimp_menus_create_entry() with a NULL menu path and call it if
	proc_def->menu_paths *or* proc_def->menu_label is non-NULL, so
	it creates at least the procedure's action, even if it has
	no menu_path (yet).

	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): check both
	the list of procs and temp_procs when trying to register the
	entry.  Allow ordinary procedures and extensions to install stuff
	at query() and init() time and allow temp_procs to install stuff
	at any time.

	* app/pdb/plug_in_cmds.c: regenerated.
2004-11-17 14:51:50 +00:00
..
actions app/actions/file-commands.c app/dialogs/file-save-dialog.c 2004-11-16 13:37:36 +00:00
base Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
composite do nothing if the color has no saturation. Patch by Joao S. Bueno. Fixes 2004-10-30 18:42:09 +00:00
config increased default tile-cache-size to 128MB. 2004-11-16 15:09:56 +00:00
core Made plug-in menu registration work the same way for ordinary and 2004-11-17 14:51:50 +00:00
dialogs app/actions/file-commands.c app/dialogs/file-save-dialog.c 2004-11-16 13:37:36 +00:00
display Further optimization of perspective tool preview - never calculate the 2004-11-15 15:22:45 +00:00
file app/actions/file-commands.c app/dialogs/file-save-dialog.c 2004-11-16 13:37:36 +00:00
gui Made plug-in menu registration work the same way for ordinary and 2004-11-17 14:51:50 +00:00
menus Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
paint app/core/gimpchannel-select.c app/core/gimpchannel.c 2004-11-16 13:41:55 +00:00
paint-funcs applied patch from Joao S. O. Bueno which moves assignments into an "else" 2004-11-03 00:38:04 +00:00
pdb Made plug-in menu registration work the same way for ordinary and 2004-11-17 14:51:50 +00:00
plug-in Made plug-in menu registration work the same way for ordinary and 2004-11-17 14:51:50 +00:00
text app/core/gimpchannel-select.c app/core/gimpchannel.c 2004-11-16 13:41:55 +00:00
tools removed redundant "gimage" parameter. 2004-11-16 13:52:04 +00:00
vectors Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
widgets Hide SVG drop g_print under be_verbose. 2004-11-17 03:42:47 +00:00
xcf Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
.cvsignore configure.in app/Makefile.am bumped version to 2.2.0-pre1, set app version 2004-10-24 22:55:36 +00:00
airbrush.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
app_procs.c app/app_procs.[ch] app/batch.[ch] added new command-line option 2004-10-06 09:56:15 +00:00
app_procs.h app/app_procs.[ch] app/batch.[ch] added new command-line option 2004-10-06 09:56:15 +00:00
batch.c clarified. 2004-10-11 00:23:27 +00:00
batch.h app/app_procs.[ch] app/batch.[ch] added new command-line option 2004-10-06 09:56:15 +00:00
errors.c Added a conditional definition of the preprocessor symbol GIMP_UNSTABLE if 2004-02-05 00:34:50 +00:00
errors.h unref the gimp object after dumping the configuration as a test for 2003-11-17 00:17:01 +00:00
fileicon.ico New Win32 icons contributed by Jernej Simoncic: 2004-11-06 11:39:42 +00:00
gimp-intl.h Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp.rc New Win32 icons contributed by Jernej Simoncic: 2004-11-06 11:39:42 +00:00
gimpcore.def gimp_create_display() with the right parameters order 2004-08-08 22:47:23 +00:00
main.c app/app_procs.[ch] app/batch.[ch] added new command-line option 2004-10-06 09:56:15 +00:00
Makefile.am New Win32 icons contributed by Jernej Simoncic: 2004-11-06 11:39:42 +00:00
makefile.msc New Win32 icons contributed by Jernej Simoncic: 2004-11-06 11:39:42 +00:00
paint_core.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
paint_options.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
plug_in_cmds.c Garry R. Osgood <grosgood@rcn.com> 2001-03-11 13:15:41 +00:00
sanity.c depend on GLib >= 2.4.5 and GTK+ >= 2.4.4. 2004-09-16 14:31:39 +00:00
sanity.h removed the gtk+ sanity check here ... 2004-07-12 13:22:28 +00:00
transform_core.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
units.c libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
units.h libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
wilber.ico New Win32 icons contributed by Jernej Simoncic: 2004-11-06 11:39:42 +00:00