Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [sidebar] Detail menu on the panel title bar is not feature status aware | ||
---|---|---|---|
Product: | General | Reporter: | Ariel Constenla-Haile <arielch> |
Component: | ui | Assignee: | Andre <awf.aoo> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | awf.aoo, issues |
Version: | 4.0.0-dev | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 121420 |
Description
Ariel Constenla-Haile
2013-05-14 18:26:13 UTC
Good point. But we still want to have same icon and help text for all the "More Options" buttons. I think. I also have to take into account that the command of a "More Options" button can change during the life time of a panel. Reorganized the "More Options" button handling a little bit: - The SidebarController gives the UNO command directly to the PanelTitleBar. = Panel does not have to forward the information = Using a string instead of a functor allows comparison with previous command and update of the associated controller when the command changes (due to context change) - PanelTitleBar uses the SidebarToolBox that has some support for tool bar controllers. - PanelTitleBar creates a tool bar controller for the "More Options" command. = This controller takes care of disabling the button when the command is disabled and the actual command execution. No more functors necessary. "af" committed SVN revision 1483715 into trunk: 122315: Disable 'More Options' buttons when their commands are disabled. "af" committed SVN revision 1483754 into trunk: 122315: Include the Tools.hxx header always. |