diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-09-29 10:54:48 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-10-01 01:21:03 +0200 |
commit | 4c6f17f730929e630ec2412785e2f4a8964940c7 (patch) | |
tree | 6018c68d591bbd8f037c2a52bf81f6af00bee6be /framework/inc | |
parent | cb9970400d0bbd73e508f25a67e1ad2c7dd28eb6 (diff) |
Wayland: Make the shapes popup work in the overflow toolbar
Was failing to show, with this warning:
Gdk-WARNING **: Tried to map a popup with a non-top most parent
To make it work, needed to implement a way to pass as extra
"ParentWindow" property to the ui element. It's documented in the
XUIElementFactory idl, but was not used by the framework impl.
Change-Id: Ifea24fc333709478634f70230699963e952e9157
Reviewed-on: https://gerrit.libreoffice.org/42937
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/uifactory/menubarfactory.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/framework/inc/uifactory/menubarfactory.hxx b/framework/inc/uifactory/menubarfactory.hxx index c5a7003a2787..78e154813193 100644 --- a/framework/inc/uifactory/menubarfactory.hxx +++ b/framework/inc/uifactory/menubarfactory.hxx @@ -63,7 +63,6 @@ typedef ::cppu::WeakImplHelper< static void CreateUIElement(const OUString& ResourceURL ,const css::uno::Sequence< css::beans::PropertyValue >& Args - ,const char* _pExtraMode ,const OUString& ResourceType ,const css::uno::Reference< css::ui::XUIElement >& _xMenuBar ,const css::uno::Reference< css::uno::XComponentContext >& _rxContext); |