Gimp/app/dialogs
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
..
about-dialog.c removed obsolete version check here. 2008-01-23 12:08:49 +00:00
about-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
authors.xsl use a named template to avoid code duplication. 2007-02-22 08:04:16 +00:00
channel-options-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
channel-options-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
convert-dialog.c app/core/gimpimage-merge.[ch] added GError parameters. 2007-12-06 19:51:02 +00:00
convert-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
desaturate-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
desaturate-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dialogs-constructors.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dialogs-constructors.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dialogs-types.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dialogs.c Implement the presistent menu of recently closed docks, still somewhat 2008-05-16 16:06:42 +00:00
dialogs.h Implement the presistent menu of recently closed docks, still somewhat 2008-05-16 16:06:42 +00:00
fade-dialog.c revert change below. 2007-10-21 19:00:28 +00:00
fade-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
file-open-dialog.c added infrastructure to access and set some state information of the 2008-05-08 11:30:54 +00:00
file-open-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
file-open-location-dialog.c Allow other applications to open images in GIMP as if they were new images 2007-04-17 15:54:01 +00:00
file-open-location-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
file-save-dialog.c added infrastructure to access and set some state information of the 2008-05-08 11:30:54 +00:00
file-save-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
grid-dialog.c app/actions/image-commands.c app/actions/select-commands.c 2007-12-26 17:33:41 +00:00
grid-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
image-merge-layers-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
image-merge-layers-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
image-new-dialog.c deprecate gimp_memsize_to_string() in favor of 2008-03-28 16:33:24 +00:00
image-new-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
image-properties-dialog.c app/widgets/Makefile.am app/widgets/widgets-types.h new widget derived 2007-06-27 09:46:00 +00:00
image-properties-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
image-scale-dialog.c deprecate gimp_memsize_to_string() in favor of 2008-03-28 16:33:24 +00:00
image-scale-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
keyboard-shortcuts-dialog.c don't show the horizontal scrollbar if it's not needed. 2008-01-28 16:47:17 +00:00
keyboard-shortcuts-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
layer-add-mask-dialog.c added new methods gimp_container_get_{first,last}_child(). 2008-04-09 09:50:29 +00:00
layer-add-mask-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
layer-options-dialog.c app/actions/image-commands.c app/actions/select-commands.c 2007-12-26 17:33:41 +00:00
layer-options-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
Makefile.am removed extra check for gthread and fold it into the GLIB and GTK checks. 2007-06-25 12:41:59 +00:00
makefile.msc updated and removed -GD to let msvc9 complain less 2007-12-09 14:11:09 +00:00
module-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
module-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
offset-dialog.c app/actions/image-commands.c app/actions/select-commands.c 2007-12-26 17:33:41 +00:00
offset-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palette-import-dialog.c added new methods gimp_container_get_{first,last}_child(). 2008-04-09 09:50:29 +00:00
palette-import-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
preferences-dialog.c app/dialogs/tips-parser.[ch] improved the creation of fallback tips in 2008-03-28 07:50:11 +00:00
preferences-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
print-size-dialog.c app/actions/channels-commands.c app/actions/colormap-actions.c 2007-12-25 16:21:40 +00:00
print-size-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
quit-dialog.c added new function gimp_display_close() which decides if 2008-04-05 20:32:24 +00:00
quit-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
resize-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
resize-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
resolution-calibrate-dialog.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
resolution-calibrate-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
scale-dialog.c use the term "layer masks". 2007-06-21 08:03:36 +00:00
scale-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
stroke-dialog.c app/actions/data-commands.c app/actions/debug-commands.c 2008-03-12 16:58:28 +00:00
stroke-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
template-options-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
template-options-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tips-dialog.c app/dialogs/tips-parser.[ch] improved the creation of fallback tips in 2008-03-28 07:50:11 +00:00
tips-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tips-parser.c app/dialogs/tips-parser.[ch] improved the creation of fallback tips in 2008-03-28 07:50:11 +00:00
tips-parser.h app/dialogs/tips-parser.[ch] improved the creation of fallback tips in 2008-03-28 07:50:11 +00:00
user-install-dialog.c app/widgets/gimpactionview.c specify alternative button order for message 2007-10-09 08:04:31 +00:00
user-install-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
vectors-export-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
vectors-export-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
vectors-import-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
vectors-import-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
vectors-options-dialog.c app/dialogs/channel-options-dialog.c app/dialogs/convert-dialog.c 2007-05-23 20:08:27 +00:00
vectors-options-dialog.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00