]> spindle.queued.net Git - midori/commitdiff
Hide the tab label properly if it's minimized initially
authorChristian Dywan <christian@twotoasts.de>
Sat, 8 May 2010 22:30:24 +0000 (00:30 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 8 May 2010 22:30:24 +0000 (00:30 +0200)
midori/midori-view.c

index f03d08283e3a0878d5323b93565cc654fccfc59f..bf6e1fc2845c186ea4b79b11f396539ed7748b5e 100644 (file)
@@ -4265,7 +4265,6 @@ midori_view_get_proxy_tab_label (MidoriView* view)
             midori_view_get_icon (view));
 
         view->tab_title = gtk_label_new (midori_view_get_display_title (view));
-        sokoke_widget_set_visible (view->tab_title, !view->minimized);
         gtk_misc_set_alignment (GTK_MISC (view->tab_title), 0.0, 0.5);
 
         event_box = gtk_event_box_new ();
@@ -4297,6 +4296,8 @@ midori_view_get_proxy_tab_label (MidoriView* view)
         #endif
         gtk_widget_show_all (GTK_WIDGET (event_box));
 
+        if (view->minimized)
+            gtk_widget_hide (view->tab_title);
         if (!view->close_buttons_on_tabs)
             gtk_widget_hide (view->tab_close);