]> spindle.queued.net Git - midori/commitdiff
Allow closing the last tab, while a blank tab will take its place
authorChristian Dywan <christian@twotoasts.de>
Sat, 14 Nov 2009 17:00:43 +0000 (18:00 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 14 Nov 2009 21:50:20 +0000 (22:50 +0100)
midori/midori-browser.c

index bc18407d6e6c3ef5469c80717aed6d03720536f8..d9aecee5a38252da65d90adb454c3ecf0b869616 100644 (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);