Hide the tab label if it's minimized at creation

This commit is contained in:
Christian Dywan 2010-05-08 23:46:57 +02:00
parent 6442b34b89
commit 3b9a4a5705

View file

@ -4265,6 +4265,7 @@ midori_view_get_proxy_tab_label (MidoriView* view)
midori_view_get_icon (view)); midori_view_get_icon (view));
view->tab_title = gtk_label_new (midori_view_get_display_title (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); gtk_misc_set_alignment (GTK_MISC (view->tab_title), 0.0, 0.5);
event_box = gtk_event_box_new (); event_box = gtk_event_box_new ();