On Tue, May 28, 2002 at 12:48:57PM +0200, Wilbert Berendsen wrote: > Hi all, > > Here's a little patch to highlight current workspace in Send To menu. > Comes in handy when you want to send a window to the next right > workspace but don't know which workspace you are now (due to hidden > toolbar). > > --- /home/wilbert/src/cvs/blackbox/src/Windowmenu.cc Wed May 15 > 23:38:56 2002 > +++ src/Windowmenu.cc Tue May 28 12:44:41 2002 > @@ -190,6 +190,7 @@ > } else { > changeItemLabel(i, getScreen()->getWorkspace(i)->getName()); > } > + setItemSelected(i, i == getScreen()->getCurrentWorkspaceID()); > } > > Basemenu::update();
Would it not be better to setItemEnabled() to false on the item (disable it)? xOr -- I am damn unsatisfied to be killed in this way.
msg07063/pgp00000.pgp
Description: PGP signature