when the "Auto" button gets enabled, always copy both display and image to

2008-03-29  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpmenudock.c (gimp_menu_dock_auto_clicked): when
	the "Auto" button gets enabled, always copy both display and image
	to the local context (because there can be displays without image
	now).


svn path=/trunk/; revision=25306
This commit is contained in:
Michael Natterer 2008-03-29 22:29:55 +00:00 committed by Michael Natterer
parent 943a0ebafd
commit e21528d4f3
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,10 @@
2008-03-29 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpmenudock.c (gimp_menu_dock_auto_clicked): when
the "Auto" button gets enabled, always copy both display and image
to the local context (because there can be displays without image
now).
2008-03-29 Michael Natterer <mitch@gimp.org>
* app/gui/gui-vtable.c (gui_display_create): remove temporary

View File

@ -644,13 +644,9 @@ gimp_menu_dock_auto_clicked (GtkWidget *widget,
if (menu_dock->auto_follow_active)
{
if (gimp_context_get_display (dock->dialog_factory->context))
gimp_context_copy_property (dock->dialog_factory->context,
gimp_context_copy_properties (dock->dialog_factory->context,
dock->context,
GIMP_CONTEXT_PROP_DISPLAY);
else
gimp_context_copy_property (dock->dialog_factory->context,
dock->context,
GIMP_CONTEXT_PROP_IMAGE);
GIMP_CONTEXT_DISPLAY_MASK |
GIMP_CONTEXT_IMAGE_MASK);
}
}