diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-11-11 15:01:52 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-11-11 15:03:38 +0200 |
commit | a133053f94f7c5b05f4354bb4977c2250b470a8a (patch) | |
tree | 1e052e2c5dd5dc03835c3b2f1b26ac9da402f683 /sfx2/sdi | |
parent | 737555eb2ff5f4f90b9794784e1ac8f0451b9b97 (diff) |
tdf#93837 Create Thesaurus popup menu controller
The old context menu implementation adds the thesaurus
sub-menu by manipulating the menu at runtime, which isn't a
good idea in general. Since it's a sub-menu anyway, better
to have it as a separate controller, so it can be added
to the xml, and users could decide if they want it, and
where.
Most of the code adapted from sfx2 (menu/mnumgr.cxx,
menu/thessubmenu.cxx), hence the Apache-based license
header.
Change-Id: I4f533fcdd5d6480fae8ebcf53ec7c69675025adb
Diffstat (limited to 'sfx2/sdi')
-rw-r--r-- | sfx2/sdi/sfx.sdi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index e207e8b45b53..f151bc78fd9c 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -7802,7 +7802,7 @@ SfxInt16Item ThesaurusFromContext SID_THES /* config: */ AccelConfig = FALSE, - MenuConfig = FALSE, + MenuConfig = TRUE, StatusBarConfig = FALSE, ToolBoxConfig = FALSE, GroupId = GID_TEXT; |