mirror of https://github.com/GNOME/gimp.git
unfullscreen the window before doing anything else.
2008-04-11 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell.c (gimp_display_shell_empty): unfullscreen the window before doing anything else. svn path=/trunk/; revision=25466
This commit is contained in:
parent
c57d42c32a
commit
01a35bddfb
|
@ -1,3 +1,8 @@
|
|||
2008-04-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
|
||||
unfullscreen the window before doing anything else.
|
||||
|
||||
2008-04-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpdisplayshell-appearance.c
|
||||
|
|
|
@ -1253,12 +1253,16 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
|
|||
g_return_if_fail (GIMP_IS_DISPLAY (shell->display));
|
||||
g_return_if_fail (shell->display->image == NULL);
|
||||
|
||||
gtk_window_unfullscreen (GTK_WINDOW (shell));
|
||||
|
||||
/* get the NIW size before adding the display to the dialog factory
|
||||
* so the window's current size doesn't affect the stored session
|
||||
* info entry.
|
||||
*/
|
||||
session_info = gimp_dialog_factory_find_session_info (shell->display_factory,
|
||||
"gimp-empty-image-window");
|
||||
session_info =
|
||||
gimp_dialog_factory_find_session_info (shell->display_factory,
|
||||
"gimp-empty-image-window");
|
||||
|
||||
if (session_info)
|
||||
{
|
||||
width = session_info->width;
|
||||
|
|
Loading…
Reference in New Issue