From: Nickolay V. Shmyrev Date: Thu, 29 Dec 2005 16:34:59 +0000 (+0000) Subject: Remember if last window was maximized. Fix for the bug #323797. X-Git-Tag: EVINCE_0_5_0~27 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=06f1b037af31008ca1bc478323db749a78106c43;p=evince.git Remember if last window was maximized. Fix for the bug #323797. * shell/ev-window.c: (setup_view_from_metadata): Remember if last window was maximized. Fix for the bug #323797. --- diff --git a/ChangeLog b/ChangeLog index 9b17f081..2053f90e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-12-29 Nickolay V. Shmyrev + + * shell/ev-window.c: (setup_view_from_metadata): + + Remember if last window was maximized. Fix for the + bug #323797. + 2005-12-28 Abel Cheung * configure.ac: Added "zh_HK" to ALL_LINGUAS. diff --git a/shell/ev-window.c b/shell/ev-window.c index 8d3601b5..ebf81032 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -970,7 +970,7 @@ setup_view_from_metadata (EvWindow *window) if (!GTK_WIDGET_VISIBLE (window)) { gboolean restore_size = TRUE; - if (ev_metadata_manager_get (uri, "window_maximized", &maximized, TRUE)) { + if (ev_metadata_manager_get (uri, "window_maximized", &maximized, FALSE)) { if (g_value_get_boolean (&maximized)) { gtk_window_maximize (GTK_WINDOW (window)); restore_size = FALSE;