diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-07-06 02:50:08 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-07-06 14:54:54 +0000 |
commit | dd69bde36a4ee4636933a80c0291486593a37670 (patch) | |
tree | 5636f3de7e1cef26ea3fa2716aff681b1efdc1c2 /sal | |
parent | ae20b8147307de84318598be72977abc3f7bdda9 (diff) |
ToolBarManager: Let XSubToolbarController update itself
The doc for XSubToolbarController::updateImage says:
"gets called to notify a controller that it should set an image
which represents the current selected function.
Only the controller instance is able to set the correct image
for the current function. A toolbar implementation will ask
sub-toolbar controllers to update their image whenever it has
to update the images of all its buttons." However, it didn't
work that way until now.
Steps to reproduce:
1. Open one of the custom shapes dropdowns, and choose a shape
other than the default. Note that the button is now updated
with the last selection.
2. Change the icon theme. Note that the button shows now the
default shape, despite the fact that a future activation
of that button, will still draw the last used shape.
Change-Id: I9345c9faa17dc82a5f590b242b60751ce5d8e648
Reviewed-on: https://gerrit.libreoffice.org/16781
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sal')
0 files changed, 0 insertions, 0 deletions