diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-12 16:09:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-13 15:11:36 +0100 |
commit | bbb130f8228797121d57a5e2e36ae95256bdce33 (patch) | |
tree | e1bfa2cfc11f035c54ebc1c94aca3a54b2e70156 /vcl | |
parent | a32059cfd1fa12eeb93b1ed3079ded0ce42deef6 (diff) |
weld SwTOXSelectTabPage
Change-Id: I2acd547263ab254edd609da4e928738f8b0b9d3b
Reviewed-on: https://gerrit.libreoffice.org/65091
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/salvtables.cxx | 6 | ||||
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index f12508f0ea92..a75ff34a0ed0 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -1330,6 +1330,12 @@ public: insert_to_menu(m_xMenuButton->GetPopupMenu(), pos, rId, rStr, pIconName, pImageSurface, bCheck); } + virtual void set_item_sensitive(const OString& rIdent, bool bSensitive) override + { + PopupMenu* pMenu = m_xMenuButton->GetPopupMenu(); + pMenu->EnableItem(rIdent, bSensitive); + } + virtual void set_item_active(const OString& rIdent, bool bActive) override { PopupMenu* pMenu = m_xMenuButton->GetPopupMenu(); diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index e828a2341d73..6d67c761da09 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -4150,6 +4150,11 @@ public: MenuHelper::set_item_active(rIdent, bActive); } + virtual void set_item_sensitive(const OString& rIdent, bool bSensitive) override + { + MenuHelper::set_item_sensitive(rIdent, bSensitive); + } + virtual void set_item_label(const OString& rIdent, const OUString& rLabel) override { MenuHelper::set_item_label(rIdent, rLabel); |