[Xfce4-commits] [xfce/xfwm4] 01/01: Add style class to tabwin modes
noreply at xfce.org
noreply at xfce.org
Wed Feb 6 17:03:12 CET 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit 66e742dcd2ffee961f4e75d0f4a7fec329d70337
Author: Andre Miranda <andreldm at xfce.org>
Date: Wed Feb 6 13:01:57 2019 -0300
Add style class to tabwin modes
---
src/tabwin.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/tabwin.c b/src/tabwin.c
index fe875de..a66d7f7 100644
--- a/src/tabwin.c
+++ b/src/tabwin.c
@@ -798,6 +798,12 @@ tabwinCreateWidget (Tabwin *tabwin, ScreenInfo *screen_info, gint monitor_num)
gtk_label_set_justify (GTK_LABEL (tabwin_widget->label), GTK_JUSTIFY_CENTER);
gtk_label_set_ellipsize (GTK_LABEL (tabwin_widget->label), PANGO_ELLIPSIZE_END);
gtk_box_pack_end (GTK_BOX (vbox), tabwin_widget->label, TRUE, TRUE, 0);
+
+ gtk_style_context_add_class (ctx, "tabwin-app-grid");
+ }
+ else
+ {
+ gtk_style_context_add_class (ctx, "tabwin-app-list");
}
windowlist = createWindowlist (screen_info, tabwin_widget);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list