]> spindle.queued.net Git - midori/commitdiff
Fix tabbar after fullscreen with Granite
authorChristian Dywan <christian@twotoasts.de>
Sat, 14 Jul 2012 22:10:08 +0000 (00:10 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 14 Jul 2012 22:13:44 +0000 (00:13 +0200)
midori/midori-browser.c

index 1d85da13e71adb809d13dbb8784ebbe203ff8bf0..fc02fe1a24fb745c269212c55a368436b745bdca 100644 (file)
@@ -259,7 +259,7 @@ _toggle_tabbar_smartly (MidoriBrowser* browser,
 {
     gboolean has_tabs = midori_browser_get_n_pages (browser) > 1;
 #ifdef HAVE_GRANITE
-    gboolean show_tabs = !(midori_browser_is_fullscreen (browser) || ignore_fullscreen);
+    gboolean show_tabs = !midori_browser_is_fullscreen (browser) || ignore_fullscreen;
     granite_widgets_dynamic_notebook_set_show_tabs (
         GRANITE_WIDGETS_DYNAMIC_NOTEBOOK (browser->notebook), show_tabs);
 #else