]> www.fi.muni.cz Git - evince.git/commitdiff
Fix typo that was hiding toolbar.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 25 Dec 2005 15:26:45 +0000 (15:26 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 25 Dec 2005 15:26:45 +0000 (15:26 +0000)
* shell/ev-window.c: (setup_chrome_from_metadata):

Fix typo that was hiding toolbar.

ChangeLog
shell/ev-window.c

index 16bb6adb0f9da3fce7d7d828984af0e053adfe13..afe17d7d8ab3a60ddbae903f2ac8846a16cda32f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-12-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * shell/ev-window.c: (setup_chrome_from_metadata):
+       
+       Fix typo that was hiding toolbar.
+
 2005-12-25  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * shell/ev-view-private.h:
index 12d1f02a9617d94fdc021dfd673ba83a2389021f..77bb4c91f29c3f08ee528c1ea3ed71cc37c43ef3 100644 (file)
@@ -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;