Be sure to show bookmarkbar if enabled

This commit is contained in:
Christian Dywan 2010-11-01 16:54:11 +01:00
parent a9244ad817
commit 10222bffd2

View file

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