Kaydet (Commit) 21b81b07 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Xisco Faulí

tdf#122112 Hide the menu bar when the notebookbar is locked

Only reproducible with GTK3 (maybe KDE5?).
This way we ensure a uniformed behavior across vclplugins anyway

Change-Id: I6edd6a426cb206d797b504ddcdcef999f79fa3c8
Reviewed-on: https://gerrit.libreoffice.org/65189
Tested-by: Jenkins
Reviewed-by: 's avatarXisco Faulí <xiscofauli@libreoffice.org>
üst baa3c738
...@@ -188,11 +188,13 @@ void SfxNotebookBar::CloseMethod(SystemWindow* pSysWindow) ...@@ -188,11 +188,13 @@ void SfxNotebookBar::CloseMethod(SystemWindow* pSysWindow)
void SfxNotebookBar::LockNotebookBar() void SfxNotebookBar::LockNotebookBar()
{ {
m_bHide = true; m_bHide = true;
m_bLock = true;
} }
void SfxNotebookBar::UnlockNotebookBar() void SfxNotebookBar::UnlockNotebookBar()
{ {
m_bHide = false; m_bHide = false;
m_bLock = false;
} }
bool SfxNotebookBar::IsActive() bool SfxNotebookBar::IsActive()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment