From: Christian Dywan Date: Fri, 1 Jan 2010 22:37:13 +0000 (+0100) Subject: Show bookmarkbar if 'Show in the toolbar' is used on a bookmark X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d81f84aa9c7d36c5e69bba4c93aa3bc0290eaf4e;p=midori Show bookmarkbar if 'Show in the toolbar' is used on a bookmark --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index e65187bf..fbd0d585 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -866,6 +866,10 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser, ? 1 : -1); } + if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_toolbar))) + if (!GTK_WIDGET_VISIBLE (browser->bookmarkbar)) + _action_set_active (browser, "Bookmarkbar", TRUE); + folder = browser->bookmarks; selected = gtk_combo_box_get_active_text (GTK_COMBO_BOX (combo_folder)); if (strcmp (selected, _("Toplevel folder")))