I don't find it useful to have an icon for xterms (ie. for me, all windows with no icon are xterms) and want to maximise the space for the window title in the task bar button.
Also I adjusted the max width to squeeze in as many chars as possible.
This isn't working for me, it just needs this patch:
--- icewm-1.3.7.orig/src/atasks.cc 2010-10-31 14:09:36.000000000 +0000
+++ icewm-1.3.7/src/atasks.cc 2011-06-11 16:39:46.000000000 +0100
@@ -232,7 +232,7 @@
int iconSize = 0;
int pad = 1;
#ifndef LITE
- if (taskBarShowWindowIcons && icon != null) {
+ if (taskBarShowWindowIcons && icon->getScaledIcon(YIcon::smallSize()) != null) {
iconSize = YIcon::smallSize();
pad = 3;
}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1380430
Originator: YES
text could overflow the edge of the button, this patch makes it a bit neater.
File Added: no_icon_longer_title-2.patch
Logged In: YES
user_id=1814
Originator: NO
applied to icewm-1.2-mnt, with minor tweaks
This isn't working for me, it just needs this patch:
--- icewm-1.3.7.orig/src/atasks.cc 2010-10-31 14:09:36.000000000 +0000
+++ icewm-1.3.7/src/atasks.cc 2011-06-11 16:39:46.000000000 +0100
@@ -232,7 +232,7 @@
int iconSize = 0;
int pad = 1;
#ifndef LITE
- if (taskBarShowWindowIcons && icon != null) {
+ if (taskBarShowWindowIcons && icon->getScaledIcon(YIcon::smallSize()) != null) {
iconSize = YIcon::smallSize();
pad = 3;
}