[Xfce4-commits] <midori:master> Allow closing the last tab, while a blank tab will take its place

Christian Dywan noreply at xfce.org
Sat Nov 14 22:56:04 CET 2009


Updating branch refs/heads/master
         to f212c1542baf302c59c1ce47d25d40aaf4a9479b (commit)
       from e5d8016bf4158013cf1a9dbc75bf39bdda925bf4 (commit)

commit f212c1542baf302c59c1ce47d25d40aaf4a9479b
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Nov 14 18:00:43 2009 +0100

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

 midori/midori-browser.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index bc18407..d9aecee 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -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);
 



More information about the Xfce4-commits mailing list