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



This is a guess, so bear with me. The _ indicates
the accelerator, so I'm wondering if it is really considered
part of the path. What happens if you leave the accelerator,
but supply "/Main/Disconnect" as the path? (in other words,
just as a test, instead of using
main_menu[2].path, you supply "/Main/Disconnect" to see if
it works (even though path still has the _).

Donna
----- Original Message -----
From: Jeff Shipman <shippy@cs.nmt.edu>
To: <gtk-list@redhat.com>
Sent: Wednesday, March 29, 2000 4:40 PM
Subject: [gtk-list] Re: still having problems disabling a menu item


> > { "/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.
> --
> +-----------------------------------------------------+
> | Jeff "Shippy" Shipman     E-Mail: shippy@cs.nmt.edu |
> | Computer Science Major    ICQ: 1786493              |
> | New Mexico Institute of Mining and Technology       |
> | Homepage: http://www.nmt.edu/~shippy                |
> +-----------------------------------------------------+
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
>
>



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