ShiZhoubo wrote:
> Hi Carsten,
> I have finished the patch regarding controller "SupportVisiblity"
> property.
> I have tested it ,but the patch cant resolve toolbar refresh problem.
>
> Could you give me some advices?
Hi ShiZhoubo,

Please debug your code and the toolbar controller parts which add the
listener to the dispatch object. The toolbar controller must be called
by a statusChanged() callback where the new state is provided.

See svtools\source\uno\toolboxcontroller.cxx, ToolboxController::update()
See framework\source\uielement\generictoolbarcontroller.cxx,
GenericToolbarController::statusChanged()

Regards,
Carsten


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org

Reply via email to