]> spindle.queued.net Git - midori/commitdiff
Be sure to show bookmarkbar if enabled
authorChristian Dywan <christian@twotoasts.de>
Mon, 1 Nov 2010 15:54:11 +0000 (16:54 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 1 Nov 2010 15:54:11 +0000 (16:54 +0100)
midori/midori-browser.c

index 22bf2c2fd31aff3358ba4f6e7e60aaf81e597217..c97c844153159000b7c8e34d389ad5b403b6d884 100644 (file)
@@ -6454,6 +6454,8 @@ midori_browser_set_bookmarks (MidoriBrowser* browser,
     if (!bookmarks)
         return;
 
+    if (katze_object_get_boolean (browser->settings, "show-bookmarkbar"))
+        _action_set_active (browser, "Bookmarkbar", TRUE);
     g_object_ref (bookmarks);
     g_signal_connect (settings, "notify::show-bookmarkbar",
         G_CALLBACK (midori_browser_show_bookmarkbar_notify_value_cb), browser);