]> spindle.queued.net Git - midori/commitdiff
Hide the tab label if it's minimized at creation
authorChristian Dywan <christian@twotoasts.de>
Sat, 8 May 2010 21:46:57 +0000 (23:46 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 8 May 2010 22:27:02 +0000 (00:27 +0200)
midori/midori-view.c

index b8432298715144ba0b2475b5311db6755766ae0e..f03d08283e3a0878d5323b93565cc654fccfc59f 100644 (file)
@@ -4265,6 +4265,7 @@ 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 ();