[Xfce4-commits] <midori:master> Hide the tab label properly if it's minimized initially
Christian Dywan
noreply at xfce.org
Sun May 9 00:32:01 CEST 2010
Updating branch refs/heads/master
to d522efa23c86e72a1d6f591c4cd84330e4e54b4e (commit)
from 3b9a4a5705aff68fb12be0f2d6d91620f6d292ba (commit)
commit d522efa23c86e72a1d6f591c4cd84330e4e54b4e
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun May 9 00:30:24 2010 +0200
Hide the tab label properly if it's minimized initially
midori/midori-view.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index f03d082..bf6e1fc 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -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);
More information about the Xfce4-commits
mailing list