mirror of https://github.com/GNOME/gimp.git
add back code that made sure the newly created display/image combo is the
2008-03-20 Michael Natterer <mitch@gimp.org> * app/gui/gui-vtable.c (gui_display_create): add back code that made sure the newly created display/image combo is the user context's active one. svn path=/trunk/; revision=25148
This commit is contained in:
parent
667abcec21
commit
3ed8ea38cd
|
@ -1,3 +1,9 @@
|
|||
2008-03-20 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/gui-vtable.c (gui_display_create): add back code that
|
||||
made sure the newly created display/image combo is the user
|
||||
context's active one.
|
||||
|
||||
2008-03-20 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/display/gimpdisplayshell-close.c
|
||||
|
|
|
@ -303,7 +303,15 @@ gui_display_create (Gimp *gimp,
|
|||
image_managers->data);
|
||||
}
|
||||
|
||||
gimp_context_set_display (context, display);
|
||||
if (gimp_context_get_display (context) == display)
|
||||
{
|
||||
gimp_context_set_image (context, image);
|
||||
gimp_context_display_changed (context);
|
||||
}
|
||||
else
|
||||
{
|
||||
gimp_context_set_display (context, display);
|
||||
}
|
||||
|
||||
gimp_ui_manager_update (GIMP_DISPLAY_SHELL (display->shell)->menubar_manager,
|
||||
display);
|
||||
|
|
Loading…
Reference in New Issue