Re: customizing menu items?



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]