GNOME Bugzilla – Bug 163854
show minimized applications as dimmed in the window selector
Last modified: 2005-01-12 22:18:46 UTC
Right now minimized applications are shown in the window selector as surrounded by "[" and "]". It's better than nothing, but still for me it's not obvious enough what it means. The window list applet dims the application icon, in addition to the "[]". That would be a good first step, but what I'd like to see is dimming both the application icon and name in the list. The distinction between minimized and opened windows would be obvious at a glance.
Patches welcome :-)
Created attachment 35915 [details] [review] patch to dimm the application icon You read my mind ;-) This patch dimms the application icon when the window is minimized. I stole the function from libwnck in tasklist.c. I thought maybe this should be handled in libwnck in the window-menu.c file, but it looks like libwnck's window-menu.c is never used in the panel's window-menu.c. This is confusing ;-)
For dimming the text itself, I'm not quite sure how to do that. And I guess it would have to take accessibility into account...
Vincent: see bug #156917 :-) In fact, if you could fix bug #156917, it'd be the best solution for a lot of things...
Comment on attachment 35915 [details] [review] patch to dimm the application icon Please commit the patch, but reindent it the way it's in window-menu.c (tabs, 'if () {' on the same line, etc.). Also, remove the useless line before the call to window_menu_dimm_icon(). Thanks
Ok, I committed a updated patch. Indentation always gets me ;-) Actually the wnck_dimm_icon function was statically defined in tasklist.c, so even if we used libwnck's window-menu, we'd have to duplicate it (or extract it in some general utility file...)