From d81f84aa9c7d36c5e69bba4c93aa3bc0290eaf4e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 1 Jan 2010 23:37:13 +0100 Subject: [PATCH] Show bookmarkbar if 'Show in the toolbar' is used on a bookmark --- midori/midori-browser.c | 4 ++++ 1 file changed, 4 insertions(+) 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"))) -- 2.39.5