gimp/app/menus
Michael Natterer f3e0792dcf Some cleanup to make plug-in menu creation less hackish and finally enable
2005-01-31  Michael Natterer  <mitch@gimp.org>

	Some cleanup to make plug-in menu creation less hackish and
	finally enable registering plug-in menu entries in much more UI
	managers (not only in the image and toolbox menus):

	* app/menus/menus.c: added a <Toolbox> UI manager instead of
	creating the toolbox menu from the <Image> UI manager.

	* app/widgets/gimpimagedock.[ch]: removed the ui_manager and the
	signal connections to update it...

	* app/widgets/gimpdock.[ch]: ...and added them here so all docks
	have their own UI manager. Determine which manager to create from
	looking at GimpDockClass::ui_manager_name (defaults to <Dock>).

	* app/widgets/gimptoolbox.c: set ui_manager_name to <Toolbox> and
	use the UI manager created by our parent class instead of using
	the <Image> one.

	(toolbox_create_tools): use gimp_action_get_accel_closure()
	instead of doing evil hacks.

	* app/gui/gui-vtable.c
	* app/menus/plug-in-menus.c: removed lots of special casing of the
	<Image> UI manager. The code is almost ready for allowing plug-in
	menus under <Layers>, <Channels>, <Brushes> etc.
2005-01-31 16:09:52 +00:00
..
.cvsignore configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
Makefile.am app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
dockable-menu.c app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
dockable-menu.h app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
file-menu.c added new PDB function gimp_register_file_handler_mime() that allows to 2004-05-14 00:01:11 +00:00
file-menu.h added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
image-menu.c app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
image-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
makefile.msc build but *dont link* display-enums.obj, widget-enums.obj and 2004-08-01 20:51:12 +00:00
menus-types.h removed enum GimpContextSelectType. 2004-06-23 00:23:25 +00:00
menus.c Some cleanup to make plug-in menu creation less hackish and finally enable 2005-01-31 16:09:52 +00:00
menus.h added GimpMenuFactory parameter and removed inclusion on "menus/menus.h". 2004-09-20 14:41:54 +00:00
plug-in-menus.c Some cleanup to make plug-in menu creation less hackish and finally enable 2005-01-31 16:09:52 +00:00
plug-in-menus.h Enabled multiple menu entries per plug-in procedure: 2004-05-06 13:51:56 +00:00
tool-options-menu.c added "name" attributes to all submenus. 2004-05-13 15:50:55 +00:00
tool-options-menu.h added signal "update" which is G_SIGNAL_RUN_LAST, so handlers can hook in 2004-04-30 15:29:11 +00:00
toolbox-menu.c added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
toolbox-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
window-menu.c app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00
window-menu.h app/actions/Makefile.am new files holding utility functions to create 2005-01-28 19:48:31 +00:00