Harald Weyhing wrote:

> Hi all,
> 
> I need to disable the navigator what can be done easily for menus,
> toolbars and F5 by modifying the user configuration. Actually double
> click on the page number in the status bar also starts up the navigator.
> 
> I tried to intercept .uno:navigator but that does not help in this case.
> The only way I found to prevent the navigator here is to intercept
> .uno:StatePageNumber, but then the current page number in the status bar
> won't get updated any more.
> 
> Is there another way to intercept the navigator in this case?

I'm afraid not so easily, obviously the code that reacts on the double
click doesn't use the way it should.

By intercepting .uno::StatePageNumber of course you could do it in the
following way:

- forward add/removeStatusListener calls to the "SlaveDispatcher" object
- don't do anything in case you get a dispatch() call for this command

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

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

Reply via email to