diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-07-12 21:11:17 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-07-13 12:09:52 +0000 |
commit | 2aea9e37d697ce51efc5fb37ba50f1bf177e0445 (patch) | |
tree | c6564f6cc7a61c497be13b146ed00615652b85dc /svx/Library_svx.mk | |
parent | 9c2a8065add0da1e649633efa0795beddfa68eed (diff) |
Introduce generic sub toolbar controller
Currently many toolbar controllers are basically doing the
same thing - show some docked toolbar. So the idea here is
to have one generic controller that will handle all these
cases in a unified way. It will get the name of the toolbar
that it's supposed to show from the configuration, based on
the command it was registered for.
Right now it can handle both simple (i.e. with DROPDOWNONLY
bits) and split (i.e. with DROPDOWN bits) scenarios, where
for split kind it replaces the function (and the image) of
the main part of the button, with the last selected function,
for easy reusing. A button is considered to be a split one,
if the name of the initial default command was passed along
with the sub toolbar name, otherwise it will be a simple
button.
The core change is in framework/. Other parts are a usage
example, in form of converting the custom shapes buttons
to this new controller.
Change-Id: I087cc58c3db1889ca69a26546d4f00fe07e2a58d
Reviewed-on: https://gerrit.libreoffice.org/16967
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'svx/Library_svx.mk')
-rw-r--r-- | svx/Library_svx.mk | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/svx/Library_svx.mk b/svx/Library_svx.mk index 44ea48a62320..48e5e0c0c789 100644 --- a/svx/Library_svx.mk +++ b/svx/Library_svx.mk @@ -103,7 +103,6 @@ $(eval $(call gb_Library_add_exception_objects,svx,\ svx/source/customshapes/EnhancedCustomShapeEngine \ svx/source/customshapes/EnhancedCustomShapeFontWork \ svx/source/customshapes/EnhancedCustomShapeHandle \ - svx/source/customshapes/tbxcustomshapes \ svx/source/dialog/_bmpmask \ svx/source/dialog/charmap \ svx/source/dialog/connctrl \ |