gimp r25466 - in trunk: . app/display
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25466 - in trunk: . app/display
- Date: Fri, 11 Apr 2008 15:42:44 +0100 (BST)
Author: mitch
Date: Fri Apr 11 15:42:43 2008
New Revision: 25466
URL: http://svn.gnome.org/viewvc/gimp?rev=25466&view=rev
Log:
2008-04-11 Michael Natterer <mitch gimp org>
* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
unfullscreen the window before doing anything else.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell.c
Modified: trunk/app/display/gimpdisplayshell.c
==============================================================================
--- trunk/app/display/gimpdisplayshell.c (original)
+++ trunk/app/display/gimpdisplayshell.c Fri Apr 11 15:42:43 2008
@@ -1253,12 +1253,16 @@
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]