Allow closing the last tab, while a blank tab will take its place
This commit is contained in:
parent
e5d8016bf4
commit
f212c1542b
1 changed files with 0 additions and 1 deletions
|
@ -245,7 +245,6 @@ _midori_browser_update_actions (MidoriBrowser* browser)
|
||||||
|
|
||||||
_toggle_tabbar_smartly (browser);
|
_toggle_tabbar_smartly (browser);
|
||||||
n = gtk_notebook_get_n_pages (GTK_NOTEBOOK (browser->notebook));
|
n = gtk_notebook_get_n_pages (GTK_NOTEBOOK (browser->notebook));
|
||||||
_action_set_sensitive (browser, "TabClose", n > 1);
|
|
||||||
_action_set_sensitive (browser, "TabPrevious", n > 1);
|
_action_set_sensitive (browser, "TabPrevious", n > 1);
|
||||||
_action_set_sensitive (browser, "TabNext", n > 1);
|
_action_set_sensitive (browser, "TabNext", n > 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue