gimp/menus
Michael Natterer ff5310a4ea Implement the presistent menu of recently closed docks, still somewhat
2008-05-16  Michael Natterer  <mitch@gimp.org>

	Implement the presistent menu of recently closed docks, still
	somewhat hackish but fully functional. Fixes bug #132744.

	* app/actions/dialogs-actions.c
	* app/actions/dialogs-commands.[ch]
	* menus/image-menu.xml.in: remove the menu items that were
	creating the hardcoded preconfigured docks.

	* app/dialogs/dialogs.[ch]: add GimpContainer of recently closed
	docks and API to load and save it.

	* app/gui/session.c: call the recent dock load and save functions.

	* app/widgets/gimpsessioninfo.[ch]: implement the GimpConfig interface
	and (de)serialize via proper interface methods.

	* app/gui/session.c
	* app/widgets/gimpdialogfactory.c: use the GimpConfig API
	to (de)serialize session infos and added the code that was
	formerly in the info's (de)serialize functions but didn't belong
	there.

	* app/widgets/gimpaction.[ch]: add "max-width-chars" property and
	set it on proxy menu item labels.

	* app/actions/windows-actions.[ch]
	* app/actions/windows-commands.[ch]
	* app/menus/windows-menu.c: add actions and menu of recently
	closed docks and code to restore the dock when the menu items are
	selected. Use above new action property to ensure a minimum
	width of the menu.

	* app/widgets/gimpmenudock.c: use '-' instead of '|' for
	separating notebooks in the window title. Menu items don't like	'|'.

	* app/widgets/gimpdock.c: removed the confirmation dialog when
	closing docks and simply add them to the recent docks container.
	This code is totally misplaced and will move to another file soon.


svn path=/trunk/; revision=25671
2008-05-16 16:06:42 +00:00
..
Makefile.am Remove the toolbox menu: 2008-03-21 17:55:32 +00:00
brush-editor-menu.xml Let the data editors optionally follow the active brush, palette and 2005-10-25 21:38:00 +00:00
brushes-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
buffers-menu.xml Allow plug-ins to register menu entries in the <Brushes>, <Gradients>, 2005-09-26 10:36:07 +00:00
channels-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
colormap-menu.xml Got rid of the word "editor" were it was good for nothing but exposing an 2006-11-17 22:07:07 +00:00
cursor-info-menu.xml added boolean "sample-merged" property, API and GUI. Pick from the active 2005-07-08 22:54:46 +00:00
dialogs-menuitems.xml added new signals "sample-point-added" and "sample-point-removed" and 2005-04-03 15:48:03 +00:00
dockable-menu.xml.in app/actions/dock-actions.c app/actions/view-actions.c 2005-11-24 00:39:12 +00:00
documents-menu.xml app/actions/documents-actions.c app/actions/documents-commands.[ch] 2005-07-07 21:49:35 +00:00
error-console-menu.xml app/actions/error-console-commands.[ch] app/widgets/gimphelp-ids.h added 2006-06-07 13:47:55 +00:00
fonts-menu.xml Allow plug-ins to register menu entries in the <Brushes>, <Gradients>, 2005-09-26 10:36:07 +00:00
gradient-editor-menu.xml app/actions/gradient-editor-actions.c added actions and callbacks to 2006-08-31 22:35:19 +00:00
gradients-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
gtkuimanager.dtd forgot to register the "patterns" actions. 2004-04-21 16:10:00 +00:00
image-menu.xml.in Implement the presistent menu of recently closed docks, still somewhat 2008-05-16 16:06:42 +00:00
images-menu.xml forgot to register the "patterns" actions. 2004-04-21 16:10:00 +00:00
layers-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00
makefile.msc build menus with nmake, too menus/Makefile.am : added to EXTRA_DIST 2005-04-24 15:39:15 +00:00
menus.xsl Remove the toolbox menu: 2008-03-21 17:55:32 +00:00
palette-editor-menu.xml Let the data editors optionally follow the active brush, palette and 2005-10-25 21:38:00 +00:00
palettes-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
patterns-menu.xml added new action command data_copy_location_cmd_callback(). 2005-10-31 12:00:25 +00:00
quick-mask-menu.xml Did a global s/qmask/quick-mask/: 2005-09-19 12:44:06 +00:00
sample-points-menu.xml Got rid of the word "editor" were it was good for nothing but exposing an 2006-11-17 22:07:07 +00:00
selection-menu.xml Got rid of the word "editor" were it was good for nothing but exposing an 2006-11-17 22:07:07 +00:00
templates-menu.xml forgot to register the "patterns" actions. 2004-04-21 16:10:00 +00:00
text-editor-toolbar.xml Don't use deprecated GtkToolbar API in GimpTextEditor: 2004-11-04 14:24:32 +00:00
tool-options-menu.xml added "name" attributes to all submenus. 2004-05-13 15:50:55 +00:00
tools-menu.xml Started making the toolbox configurable. Addresses bug #105764. Not 2004-05-10 00:41:57 +00:00
undo-menu.xml Got rid of the word "editor" were it was good for nothing but exposing an 2006-11-17 22:07:07 +00:00
vectors-menu.xml Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and 2006-06-16 17:02:14 +00:00