From: Nickolay V. Shmyrev Date: Sun, 25 Dec 2005 15:26:45 +0000 (+0000) Subject: Fix typo that was hiding toolbar. X-Git-Tag: EVINCE_0_5_0~49 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;ds=sidebyside;h=2cf45835358157f276a93e4e1ecd2f2e50910252;p=evince.git Fix typo that was hiding toolbar. * shell/ev-window.c: (setup_chrome_from_metadata): Fix typo that was hiding toolbar. --- diff --git a/ChangeLog b/ChangeLog index 16bb6adb..afe17d7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-25 Nickolay V. Shmyrev + + * shell/ev-window.c: (setup_chrome_from_metadata): + + Fix typo that was hiding toolbar. + 2005-12-25 Nickolay V. Shmyrev * shell/ev-view-private.h: diff --git a/shell/ev-window.c b/shell/ev-window.c index 12d1f02a..77bb4c91 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -634,7 +634,7 @@ setup_chrome_from_metadata (EvWindow *window) GValue show_toolbar = { 0, }; if (ev_metadata_manager_get (NULL, "show_toolbar", &show_toolbar, FALSE)) { - if (!g_value_get_boolean (&show_toolbar)); + if (!g_value_get_boolean (&show_toolbar)) chrome &= ~EV_CHROME_TOOLBAR; } window->priv->chrome = chrome;