--===============1264745804== Content-Type: multipart/alternative; boundary="0-2102953954-1157643046=:78318" Content-Transfer-Encoding: 8bit --0-2102953954-1157643046=:78318 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Well, I guess I have too much time on my hands (between contracts :), so I took a brief stab at implementing this feature myself and seem to have it working (at least in my case). Don't laugh, I am a Perl pgmr, haven't done any C in years, but here goes: (Latest WinList.c from v2.2.2): The new option value is "*WinListUseName 4". This causes the display text to be set to "". The other options (0-3) should still work as before. Only drawback I've found so far is that there probably needs to be a new style for "iconified" windows, since I removed the parenthesis from the text as well and now there is nothing indicating that a given window is iconified. 1012c1012,1028 < char *name = get_window_name(wd, Config->UseName, &encoding ); --- > /* char *name = get_window_name(wd, Config->UseName, &encoding ); > JWT: CHGD PREV. TO NEXT 14 TO GET TEXT-LESS WINLIST W/ UseName=4 */ > char *name; > char *showname; > int usename = Config->UseName; > if (Config->UseName == 4) > { > usename = 0; > name = get_window_name(wd, usename, &encoding ); > showname = ""; > } > else > { > name = get_window_name(wd, usename, &encoding ); > showname = name; > } > 1082c1098 < sprintf(iconic_name, "(%s)", name ); --- > sprintf(iconic_name, (Config->UseName == 4 ? "%s" : "(%s)"), showname ); 1086c1102 < add_astbar_label( tbar, 1, 1, 0, align, h_spacing, v_spacing, name, encoding); --- > add_astbar_label( tbar, 1, 1, 0, align, h_spacing, v_spacing, showname, encoding); For best effect, I modified my winlist file as follows: *WinListUseName 4 *WinListIconSize 48x48 *WinListIconAlign left *WinListAlign left ####*WinListMinSize 10000 #will be truncated to thescreen size ####*WinListMinSize 100 #will be truncated to thescreen size ####*WinListMaxWidth 1376 and turned on balloons. Enjoy! JP --------------------------------- Get your email and more, right on the new Yahoo.com --0-2102953954-1157643046=:78318 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Well, I guess I have too much time on my hands (between contracts :), so I took a brief stab at implementing this feature myself and seem to have it working (at least in my case). Don't laugh, I am a Perl pgmr, haven't done any C in years, but here goes: (Latest WinList.c from v2.2.2): The new option value is "*WinListUseName 4". This causes the display text to be set to "". The other options (0-3) should still work as before. Only drawback I've found so far is that there probably needs to be a new style for "iconified" windows, since I removed the parenthesis from the text as well and now there is nothing indicating that a given window is iconified.<br><br><br>1012c1012,1028<br>< char *name = get_window_name(wd, Config->UseName, &encoding );<br>---<br>> /* char *name = get_window_name(wd, Config->UseName, &encoding );<br>> JWT: CHGD PREV. TO NEXT 14 TO GET TEXT-LESS WINLIST W/ UseName=4 */<br>> char *name;<br>> char *showname;<br>> int usename = Config->UseName;<br>> if (Config->UseName == 4)<br>> {<br>> usename = 0;<br>> name = get_window_name(wd, usename, &encoding );<br>> showname = "";<br>> }<br>> else<br>> {<br>> name = get_window_name(wd, usename, &encoding );<br>> showname = name;<br>> }<br>> <br>1082c1098<br>< sprintf(iconic_name, "(%s)", name );<br>---<br>> sprintf(iconic_name, (Config->UseName == 4 ? "%s" : "(%s)"), showname );<br>1086c1102<br>< add_astbar_label( tbar, 1, 1, 0, align, h_spacing, v_spacing, name, encoding);<br>---<br>> add_astbar_label( tbar, 1, 1, 0, align, h_spacing, v_spacing, showname, encoding);<br><br><br>For best effect, I modified my winlist file as follows:<br>*WinListUseName 4<br>*WinListIconSize 48x48<br>*WinListIconAlign left<br>*WinListAlign left<br>####*WinListMinSize 10000 #will be truncated to thescreen size<br>####*WinListMinSize 100 #will be truncated to thescreen size<br>####*WinListMaxWidth 1376<br><br>and turned on balloons.<br><br>Enjoy!<br><br>JP<br><br><p> <hr size=1>Get your email and more, right on the <a href="http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview"> new Yahoo.com</a> --0-2102953954-1157643046=:78318-- --===============1264745804== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ As-users mailing list As-users@afterstep.org http://mail.afterstep.org/mailman/listinfo/as-users --===============1264745804==--