Re: customizing menu items?
- From: Michael Meeks <michael ximian com>
- To: Jason Hildebrand <jason peaceworks ca>
- Cc: gnome-components-list <gnome-components-list gnome org>
- Subject: Re: customizing menu items?
- Date: 13 Mar 2003 13:34:53 +0000
Hi Jason,
On Mon, 2003-03-10 at 00:52, Jason Hildebrand wrote:
> The GTK version of Vim displays "accelerators" next to the menu items.
> eg:
> Open :e
> Save :w
> Save as... :sav
> Exit :qa
> Redo ^R
...
> In the bonobo version, I can't use the "accel" attribute, because I
> don't actually want these keypresses caught. I'd like to simply display
> the shortcuts right-justified within the menus. Is there any way to
> achieve this?
Currently no - but you're the 2nd person to ask for this in a couple of
days; so I'd be most interested in helping you make it so. How did you
do that with raw gtk+ ? would an extra 'accel_label' property do ? to
hack it up, you'll need to poke at:
bonobo-ui-sync-menu.c (impl_bonobo_ui_sync_menu_state)
It shouldn't be too hard to add for Gnome 2.4.
HTH,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]