summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-26 15:35:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-26 20:43:29 +0200
commitb56f32b235124f8afa2942cd97ebe2f7d434fef7 (patch)
tree59f82e10254383af6361f90d29ab41581a2fce66 /sfx2
parent9c787b1e5ad517476a26fc9735ac63b54bfa28a4 (diff)
gtk4: reenable Notebook
Change-Id: I5342e5ef35f9d270d8ac51c3d696beddc8b67529 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116203 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 40bd42c63f6e..97d472a89ff8 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1113,7 +1113,13 @@ SfxDocumentInfoDialog::SfxDocumentInfoDialog(weld::Window* pParent, const SfxIte
// Property Pages
AddTabPage("general", SfxDocumentPage::Create, nullptr);
AddTabPage("description", SfxDocumentDescPage::Create, nullptr);
- AddTabPage("customprops", SfxCustomPropertiesPage::Create, nullptr);
+ if (Application::GetToolkitName() == "gtk4")
+ {
+ SAL_WARN( "sfx.dialog", "temp bootstrapping gtk4 disabled page for menubutton");
+ RemoveTabPage("customprops");
+ }
+ else
+ AddTabPage("customprops", SfxCustomPropertiesPage::Create, nullptr);
if (rInfoItem.isCmisDocument())
AddTabPage("cmisprops", SfxCmisPropertiesPage::Create, nullptr);
else