This is an automated email from the git hooks/post-receive script.

ochosi pushed a 
commit to branch 
master
in repository xfce/xfce4-panel.

commit 971188bec9a1336db42492ce32f9a4ad7ecd7f0e
Author: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at>
Date:   Mon Dec 3 23:39:20 2018 +0100

    tasklist: Add 'group-button' styleclass
    
    This allows themes to visually distinguish between normal single-window
    buttons and group buttons (which is useful, because the behaviors
    differ:
     - single-window buttons focus the corresponding window on left-click
     - group buttons open a menu with all grouped windows on left-click
---
 plugins/tasklist/tasklist-widget.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/tasklist/tasklist-widget.c 
b/plugins/tasklist/tasklist-widget.c
index 8eaa358..496ffb5 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -3947,6 +3947,7 @@ xfce_tasklist_group_button_new (WnckClassGroup 
*class_group,
   child->type = CHILD_TYPE_GROUP;
   child->class_group = class_group;
 
+  gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET 
(child->button)), "group-button");
   /* note that the same signals should be in the proxy menu item too */
   g_signal_connect (G_OBJECT (child->button), "button-press-event",
       G_CALLBACK (xfce_tasklist_group_button_button_press_event), child);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to