Re: [gtk-list] Re: still having problems disabling a menu item



On Wed, Mar 29, 2000 at 04:40:31PM -0700, Jeff Shipman wrote:
> > { "/Main/_Disconnect",          "<control>D", NULL, 0, NULL },
> 
> Ok, if I change the above line to:
> 
>  { "/Main/Disconnect",          "<control>D", NULL, 0, NULL },
> 
> then it works just fine. Is this a bug with GTK? I'm running
> v1.2.5.

This is somewhat deja-vu for me ... I'm pretty sure it's a bug, and I
even mailed the mailing list about this ages and ages ago (over a year
or so ago).

I believe the bug can be generalized to any menu path with an
underscore, regardless of whether or not the underscore denotes a menu
accelerator.

Basically, gtk_item_factory_get_widget() is broken when there are
underscores in the menu path.

regards,
--andy



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]