Allow closing the last tab, while a blank tab will take its place

This commit is contained in:
Christian Dywan 2009-11-14 18:00:43 +01:00
parent e5d8016bf4
commit f212c1542b

View file

@ -245,7 +245,6 @@ _midori_browser_update_actions (MidoriBrowser* browser)
_toggle_tabbar_smartly (browser);
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, "TabNext", n > 1);