Re: FVWM: Greyed out menu items

From: Marcus Lundblad <ml_at_update.uu.se>
Date: Wed, 21 Aug 2002 19:58:10 +0200 (CEST)

On Wed, 21 Aug 2002, Mikhael Goikhman wrote:

> On 21 Aug 2002 18:42:12 +0200, Dominik Vogt wrote:
> >
> > On Wed, Aug 21, 2002 at 06:27:25PM +0200, Marcus Lundblad wrote:
> > > When using for example motif tear-off menus, some menu entries used to be
> > > "shaded out" because they are not useable (like an entry boud to Resize).
> > > Now (I'm using 2.5.2) they never are (although there is a beep when trying
> > > to use them).
> > > I converted my setup to use Colorsets some time ago. Do you have to
> > > specifically set a Colorset for the shaded out entries?
> > > Is this why it fails to work?
> > > Or is the menu code undergoing some rewrite now, and this has been
> > > disabled?
> >
> > Can you post the relevant parts of your config? (menu styles,
> > the corresponding menus and mouse bindings and the styles
> > controlling the actions that are allowed).
>
> This is not needed. I fixed small this problem on 2002-06-28, four days
> after the 2.5.2 release. :)

Another thought.

I have a function like this:

AddToFunc Restore "I" Current [Iconic] Iconify false
+ "I" Cond (Match) Break
+ "I" Current [!Iconic] Maximize false

and an entry in a window menu for this.
Would it be very hard to extend the "greying out" functionality to handle
cases like this, marking this as unavailable for non-maximised windows
(since "Maximize false" only makes sense for maximised windows).
A similar thing is a menu I have with entries for switching desks,
switching to the current desk is also not "doing anything"

This is ofcourse only a cosmetic issue and is not the most important, so
I'm not saying this is something you should put a lot of energy into.

I guess it could be quite complex.

//Marcus


>
> Regards,
> Mikhael.
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
>

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Aug 21 2002 - 12:59:05 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST