On Wed, Nov 26, 2003 at 02:43:38PM -0600, [EMAIL PROTECTED] wrote:
> Full_Name: Tilo Stritzky
> Version: 
> CVS_Date: 
> OS: 
> X_Server: 
> Submission from: (NULL) (195.4.13.13)
> 
> 
> There seems to be a bug in Fvwm regarding Popup-Menu with whitespace in
> its name.  Having an .fvwmrc with something like:
> 
> ### start .fvwmrc
> AddToMenu RootMenu      "Root Menu"     Title
> +                       "&Oha"          Popup   "oh  a"
> 
> AddToMenu       "oh  a" "OOO"   Title
> +               "&red"  Exec exec xsetroot -solid red
> ### end .fvwmrc
> 
> will not popup the menu but produce an error:
> [FVWM][menu_func]: <<ERROR>> No such menu oh  a
> 
> (Note that the number of whitespaces in the error message is the correct
> one, 2 in this case)
> However the following does produce the Popup:
> 
> ### start .fvwmrc
> +                       "&Oha"          Popup   "oh  a"
> 
> AddToMenu       "oh  "  "OOO"   Title
> +               "&red"  Exec exec xsetroot -solid red
> ### end .fvwmrc
> 
> This will work with any amount of leading and trailing WS in the menu
> definition.

Fixed.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to