[Xfce4-commits] [xfce/xfce4-panel] 02/04: tasklist: Make sure icons in the group menu are 16px
noreply at xfce.org
noreply at xfce.org
Wed Nov 28 16:34:18 CET 2018
This is an automated email from the git hooks/post-receive script.
o c h o s i 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/xfce4-panel.
commit b26d09d053ba409d6e80cc740cddd5b590c8aaa8
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Wed Nov 28 15:27:47 2018 +0100
tasklist: Make sure icons in the group menu are 16px
Previously they were sized just like the taskbar group button icon.
---
plugins/tasklist/tasklist-widget.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index eb41a2c..632ca28 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -2567,7 +2567,8 @@ xfce_tasklist_button_icon_changed (WnckWindow *window,
icon_size = xfce_panel_plugin_get_icon_size (XFCE_PANEL_PLUGIN (xfce_tasklist_get_panel_plugin (tasklist)));
/* get the window icon */
- if (tasklist->show_labels)
+ if (tasklist->show_labels ||
+ child->type == CHILD_TYPE_GROUP_MENU)
pixbuf = wnck_window_get_mini_icon (window);
else if (icon_size <= 31)
pixbuf = wnck_window_get_mini_icon (window);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list