Hi to all,

I have a menu on which some keyboard shortcuts have been set through ui::XAcceleratorConfiguration. When a shortcut is set with the same command URL of an existing menu line, OO automatically displays the shortcut on the menu line (or should; a bug prevents this, but will be fixed in a later OO version).

However, a drawback is that the protocol handler declared for these URLs receives the same URL when the user clicks in the menu and when he strokes the key shortcut.
Is there a way to distinguish both kind of events ?

I have tried to add arguments to the URL, such as :

vnd.MyCompany:command1 for the menu line,
vnd.MyCompany:command1?kind=0 for the shortcut,

...hoping that OO would still bind both in the displayed menu, but it is not the case.

Does OO do this automatic binding by comparing strictly both URLs, or does it allow some differences while still considering them equal ?

Or is there another way ? Thank you if you know any.

Julien Galand

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to