Show bookmarkbar if 'Show in the toolbar' is used on a bookmark
This commit is contained in:
parent
578f74a308
commit
d81f84aa9c
1 changed files with 4 additions and 0 deletions
|
@ -866,6 +866,10 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser,
|
||||||
? 1 : -1);
|
? 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;
|
folder = browser->bookmarks;
|
||||||
selected = gtk_combo_box_get_active_text (GTK_COMBO_BOX (combo_folder));
|
selected = gtk_combo_box_get_active_text (GTK_COMBO_BOX (combo_folder));
|
||||||
if (strcmp (selected, _("Toplevel folder")))
|
if (strcmp (selected, _("Toplevel folder")))
|
||||||
|
|
Loading…
Reference in a new issue