[ icewm-Patches-1956767 ] don't waste taskbar space if no icon

"SourceForge.net" <[email protected]> Sat, 11 Jun 2011 16:41:09 +0100
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Patches item #1956767, was opened at 2008-05-03 16:34
Message generated for change (Comment added) made by ldarby
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300031&aid=1956767&group_id=31

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 6
Private: No
Submitted By: Laurence Darby (ldarby)
Assigned to: Marko Macek (captnmark)
Summary: don't waste taskbar space if no icon

Initial Comment:
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.

----------------------------------------------------------------------

Comment By: Laurence Darby (ldarby)
Date: 2011-06-11 16:41

Message:
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;
             }


----------------------------------------------------------------------

Comment By: Marko Macek (captnmark)
Date: 2008-08-06 14:53

Message:
Logged In: YES 
user_id=1814
Originator: NO

applied to icewm-1.2-mnt, with minor tweaks

----------------------------------------------------------------------

Comment By: Laurence Darby (ldarby)
Date: 2008-05-03 17:25

Message:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300031&aid=1956767&group_id=31

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev