gimp/app/actions
Michael Natterer bd636468e8 add new options object for the "no image" display appearance.
2008-03-18  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayoptions.[ch]: add new options object
	for the "no image" display appearance.

	* app/display/gimpdisplayshell.[ch]: keep one of them around.

	* app/display/gimpdisplayshell-appearance.[ch]: use the options
	object when the display is empty. Add guards against no image
	to some functions. Add gimp_display_shell_appearance_update()
	which sets all options according to the current display state
	(normal, fullscreen, no image).

	* app/actions/view-actions.c: don't allow to configure the GUI
	of the empty display.

	* app/display/gimpdisplayshell-callbacks.c: use the new appearance
	update function instead of doing it all here.

	* app/display/gimpdisplayshell-close.c
	* app/gui/gui-vtable.c: update the appearance when clearing or
	filling the display.

	* app/display/gimpdisplayshell-selection.c: forgot some guards
	against empty displays.


svn path=/trunk/; revision=25114
2008-03-18 22:21:47 +00:00
..
Makefile.am app/actions/Makefile.am app/core/Makefile.am app/display/Makefile.am use 2007-12-29 19:18:57 +00:00
actions-types.h Close the display after "Save as" when invoked via the "Close Without 2007-01-20 19:38:09 +00:00
actions.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
actions.h renamed gimp_image_active_drawable() to gimp_image_get_active_drawable(). 2007-07-19 14:59:51 +00:00
brush-editor-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
brush-editor-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
brushes-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
brushes-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
buffers-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
buffers-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
buffers-commands.c renamed gimp_image_active_drawable() to gimp_image_get_active_drawable(). 2007-07-19 14:59:51 +00:00
buffers-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
channels-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
channels-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
channels-commands.c removed "add_alpha" parameter from gimp_item_duplicate() and 2008-01-08 11:46:15 +00:00
channels-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
colormap-actions.c app/actions/channels-commands.c app/actions/colormap-actions.c 2007-12-25 16:21:40 +00:00
colormap-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
colormap-commands.c app/actions/channels-commands.c app/actions/colormap-actions.c 2007-12-25 16:21:40 +00:00
colormap-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
context-actions.c app/actions/context-actions.c s/minumum/minimum/ typo spotted by Joao S. 2007-01-24 03:19:44 +00:00
context-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
context-commands.c app/actions/context-actions.c applied modified patch from David Gowers 2006-12-14 12:14:33 +00:00
context-commands.h app/actions/context-actions.c applied modified patch from David Gowers 2006-12-14 12:14:33 +00:00
cursor-info-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
cursor-info-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
cursor-info-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
cursor-info-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
data-commands.c app/actions/data-commands.c app/actions/debug-commands.c 2008-03-12 16:58:28 +00:00
data-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
data-editor-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
data-editor-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
debug-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
debug-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
debug-commands.c app/actions/data-commands.c app/actions/debug-commands.c 2008-03-12 16:58:28 +00:00
debug-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dialogs-actions.c app/actions/dialogs-actions.c app/actions/dock-actions.c 2007-03-31 11:38:47 +00:00
dialogs-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dialogs-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dialogs-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dock-actions.c app/actions/dialogs-actions.c app/actions/dock-actions.c 2007-03-31 11:38:47 +00:00
dock-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dock-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dock-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dockable-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dockable-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
dockable-commands.c app/actions/data-commands.c app/actions/debug-commands.c 2008-03-12 16:58:28 +00:00
dockable-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
documents-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
documents-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
documents-commands.c adopt to changes gimp_documents_save() API. 2007-12-20 07:26:50 +00:00
documents-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
drawable-actions.c renamed gimp_image_active_drawable() to gimp_image_get_active_drawable(). 2007-07-19 14:59:51 +00:00
drawable-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
drawable-commands.c let gimp_drawable_invert() take a GimpProgress parameter. 2007-12-29 23:04:37 +00:00
drawable-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
edit-actions.c removed default keyboard shortcuts from actions that work with named 2008-02-24 14:23:24 +00:00
edit-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
edit-commands.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
edit-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
error-console-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
error-console-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
error-console-commands.c app/actions/error-console-commands.c app/actions/gradients-commands.c 2007-02-02 07:50:36 +00:00
error-console-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
file-actions.c renamed gimp_image_active_drawable() to gimp_image_get_active_drawable(). 2007-07-19 14:59:51 +00:00
file-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
file-commands.c left-align the image. 2007-09-25 14:03:33 +00:00
file-commands.h Close the display after "Save as" when invoked via the "Close Without 2007-01-20 19:38:09 +00:00
fonts-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
fonts-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
fonts-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
fonts-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gradient-editor-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gradient-editor-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gradient-editor-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gradient-editor-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gradients-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gradients-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gradients-commands.c app/actions/error-console-commands.c app/actions/gradients-commands.c 2007-02-02 07:50:36 +00:00
gradients-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
help-actions.c app/actions/dialogs-actions.c app/actions/dock-actions.c 2007-03-31 11:38:47 +00:00
help-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
help-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
help-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
image-actions.c as suggested by the HIG, use Alt-Return as default shortcut for the Image 2007-06-27 10:41:17 +00:00
image-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
image-commands.c app/actions/image-commands.c app/actions/select-commands.c 2007-12-26 17:33:41 +00:00
image-commands.h added gimp_image_resize_to_selection(). 2007-06-09 17:17:30 +00:00
images-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
images-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
images-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
images-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
layers-actions.c app/actions/image-actions.c (image_actions) renamed menu entries as 2007-06-04 12:19:55 +00:00
layers-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
layers-commands.c removed "add_alpha" parameter from gimp_item_duplicate() and 2008-01-08 11:46:15 +00:00
layers-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
makefile.msc updated and removed -GD to let msvc9 complain less 2007-12-09 14:11:09 +00:00
palette-editor-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palette-editor-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palette-editor-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palette-editor-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palettes-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palettes-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palettes-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
palettes-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
patterns-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
patterns-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
plug-in-actions.c don't call plug_in_actions_update() because that updated the sensitivity 2008-02-21 16:39:49 +00:00
plug-in-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
plug-in-commands.c use GError for error reporting in PDB invoker methods. 2007-12-02 18:05:54 +00:00
plug-in-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
quick-mask-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
quick-mask-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
quick-mask-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
quick-mask-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
sample-points-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
sample-points-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
sample-points-commands.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
sample-points-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
select-actions.c renamed gimp_image_active_drawable() to gimp_image_get_active_drawable(). 2007-07-19 14:59:51 +00:00
select-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
select-commands.c app/actions/image-commands.c app/actions/select-commands.c 2007-12-26 17:33:41 +00:00
select-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
templates-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
templates-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
templates-commands.c reverted last change. We would also have to change a string if we wanted 2007-09-30 10:31:32 +00:00
templates-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
text-editor-actions.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
text-editor-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
text-editor-commands.c app/actions/error-console-commands.c app/actions/gradients-commands.c 2007-02-02 07:50:36 +00:00
text-editor-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tool-options-actions.c app/core/Makefile.am app/core/core-types.h added GimpToolPresets, derived 2006-12-10 19:13:58 +00:00
tool-options-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tool-options-commands.c Only care about GIMP_CONFIG_PARAM_SERIALIZE properties, fixes bug #498948. 2007-12-05 20:41:53 +00:00
tool-options-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tools-actions.c app/actions/tools-actions.c app/actions/tools-commands.[ch] allow to 2008-03-06 17:13:59 +00:00
tools-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
tools-commands.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
tools-commands.h app/actions/tools-actions.c app/actions/tools-commands.[ch] allow to 2008-03-06 17:13:59 +00:00
vectors-actions.c app/actions/dialogs-actions.c app/actions/dock-actions.c 2007-03-31 11:38:47 +00:00
vectors-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
vectors-commands.c removed "add_alpha" parameter from gimp_item_duplicate() and 2008-01-08 11:46:15 +00:00
vectors-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
view-actions.c add new options object for the "no image" display appearance. 2008-03-18 22:21:47 +00:00
view-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
view-commands.c First draft of the "no image open" window, which is implemented as a 2008-03-18 21:22:21 +00:00
view-commands.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2007-12-16 02:06:15 +00:00
window-actions.c app/actions/dialogs-actions.c app/actions/dock-actions.c 2007-03-31 11:38:47 +00:00
window-actions.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
window-commands.c specify alternative button order. 2007-10-09 13:30:36 +00:00
window-commands.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00