summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-08-30 21:38:37 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-08-31 05:55:39 +0000
commit72eb18e520ea8165a6a20958a1551f55e5e14cab (patch)
tree553529f0023c6515e5aa0d3a8ae6ff212dcce60b /vcl/source/window
parent34dced99c33a97dab86c4538fa267ad4ad4fb41f (diff)
gtk3: Implement menubar hiding
Change-Id: Ia772f05daa74453fc3dc8fe0c257fdac358cd5c6 Reviewed-on: https://gerrit.libreoffice.org/28490 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/menu.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 59597c5dfad7..c82ecf55ef0e 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -2495,6 +2495,9 @@ void MenuBar::SetDisplayable( bool bDisplayable )
{
if( bDisplayable != mbDisplayable )
{
+ if ( ImplGetSalMenu() )
+ ImplGetSalMenu()->ShowMenuBar( bDisplayable );
+
mbDisplayable = bDisplayable;
MenuBarWindow* pMenuWin = getMenuBarWindow();
if (pMenuWin)