diff options
author | Jim Raykowski <raykowj@gmail.com> | 2020-12-22 22:20:45 -0900 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2021-01-14 00:10:44 +0100 |
commit | 9f9798f07f0b56ae474f31ded671cc8da598d244 (patch) | |
tree | 4ece056191029b06a6b6a123c106e60f3c9e7336 /sw/sdi | |
parent | 1a24fef6b3e24645dccfa7f13dd71d8f5019dd94 (diff) |
tdf#115817 Add navigation recency to Navigate By
- Adds Recency to Navigate By and when selected, previous and next
scroll controls navigate the navigation manager stack backwards and
forward.
- Removes the code that makes the Navigation tool bar appear when an
entry is added to the navigation manager stack so the tool bar doesn't
appear unless the user explicilty chooses for it to.
- Changes Navigation toolbar context sensitivity to false.
Change-Id: I246dd442b4bc5191324c35f9b91a9cb2eac8e7f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108316
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_viewsh.sdi | 2 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 61bd43768cf0..06a5a5f6893c 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -107,10 +107,12 @@ interface BaseTextEditView FN_SCROLL_PREV [ ExecMethod = Execute; + StateMethod = GetState; ] FN_SCROLL_NEXT [ ExecMethod = Execute; + StateMethod = GetState; ] FN_SET_PAGE_STYLE // status(final|play) [ diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 9a03663dc19d..7d24e76b9ed2 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -5107,7 +5107,7 @@ SfxVoidItem ScrollToPrevious FN_SCROLL_PREV RecordAbsolute = FALSE, RecordPerSet; - AccelConfig = FALSE, + AccelConfig = TRUE, MenuConfig = FALSE, ToolBoxConfig = TRUE, GroupId = SfxGroupId::Navigator; @@ -5124,7 +5124,7 @@ SfxVoidItem ScrollToNext FN_SCROLL_NEXT RecordAbsolute = FALSE, RecordPerSet; - AccelConfig = FALSE, + AccelConfig = TRUE, MenuConfig = FALSE, ToolBoxConfig = TRUE, GroupId = SfxGroupId::Navigator; |