Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-09-16 17:10:55

apurkrt
Member
From: Czechia, Europe
Registered: 2014-08-31
Posts: 48

[patch] Large icons in "Window Buttons" with "Show button labels"

Below is a patch that makes the icons on "Window Buttons" applet large, even when "Show button labels" is enabled. I prefer the icons to be large.

Perhaps make this an option? Three way combo "Large icons only"/"Large icons + labels"/"Small icons + labels", instead of the current checkbox.

diff -ur xfce4-panel-4.12.0/plugins/tasklist/tasklist-widget.c xfce4-panel-4.12.0.patch/plugins/tasklist/tasklist-widget.c
--- xfce4-panel-4.12.0/plugins/tasklist/tasklist-widget.c	2015-02-26 21:32:17.000000000 +0100
+++ xfce4-panel-4.12.0.patch/plugins/tasklist/tasklist-widget.c	2015-09-16 19:03:02.190220995 +0200
@@ -2449,10 +2449,7 @@
     return;
 
   /* get the window icon */
-  if (tasklist->show_labels)
-    pixbuf = wnck_window_get_mini_icon (window);
-  else
-    pixbuf = wnck_window_get_icon (window);
+  pixbuf = wnck_window_get_icon (window);
 
   /* leave when there is no valid pixbuf */
   if (G_UNLIKELY (pixbuf == NULL))

Last edited by apurkrt (2015-09-16 17:26:27)

Offline

#2 2015-09-16 20:47:28

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: [patch] Large icons in "Window Buttons" with "Show button labels"

Thanks for the work.
The best place to post this will be on the bug tracker so a developer can see it.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-09-18 14:21:47

apurkrt
Member
From: Czechia, Europe
Registered: 2014-08-31
Posts: 48

Re: [patch] Large icons in "Window Buttons" with "Show button labels"

Understood! cool

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 523.02 KiB (Peak: 523.87 KiB) ]