From: Christian Dywan Date: Tue, 5 Oct 2010 19:31:37 +0000 (+0200) Subject: Fix removal of tabs from Tab Panel treeview X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf3c2f5b00f5694cc308d54c31857ddfbc77d8e;p=midori Fix removal of tabs from Tab Panel treeview --- diff --git a/extensions/tab-panel.c b/extensions/tab-panel.c index 95e7c535..8f265965 100644 --- a/extensions/tab-panel.c +++ b/extensions/tab-panel.c @@ -462,7 +462,7 @@ tab_panel_browser_remove_tab_cb (MidoriBrowser* browser, { gboolean minimized = katze_object_get_boolean (view, "minimized"); - if (g_object_get_data (G_OBJECT (browser), "midori-browser-destroyed")) + if (!g_object_get_data (G_OBJECT (browser), "midori-browser-destroyed")) tab_panel_remove_view (browser, view, minimized); }