diff options
author | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2013-12-09 11:12:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-17 15:16:25 +0000 |
commit | 0f86895fcd1001324974d644a728152b97b22ab0 (patch) | |
tree | b3ecf3510c2b31d6113f7996173dcbe690cf6d3c /sw/sdi | |
parent | 769778e489722f454fa3d81ffcf73f1934a0a88b (diff) |
Add the Navigation buttons to the Search toolbar
They were remove from below the scrollbar before and it was decided to put them on the Search toolbar: http://nabble.documentfoundation.org/Libreoffice-ux-advise-Remove-the-Navigator-button-below-the-scrollbar-in-Writer-tp4083097p4086370.html
Change-Id: I5f7dfc0aa522e97cf3821c494525c967dcd6a92c
Reviewed-on: https://gerrit.libreoffice.org/7006
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/sdi')
-rw-r--r-- | sw/sdi/_viewsh.sdi | 10 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 53 |
2 files changed, 59 insertions, 4 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi index 54152af3a5be..7513606c2a83 100644 --- a/sw/sdi/_viewsh.sdi +++ b/sw/sdi/_viewsh.sdi @@ -76,7 +76,15 @@ interface BaseTextEditView ExecMethod = NoExec ; StateMethod = NoState ; ] - FN_SCROLL_NEXT_PREV + FN_NAVIGATION_POPUP + [ + ExecMethod = Execute; + ] + FN_SCROLL_PREV + [ + ExecMethod = Execute; + ] + FN_SCROLL_NEXT [ ExecMethod = Execute; ] diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 0c7cff7bbea0..675540b0e2ba 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -6803,9 +6803,56 @@ SfxBoolItem ScrollNavigation FN_SCROLL_NAVIGATION GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- -SfxVoidItem ScrollNextPrev FN_SCROLL_NEXT_PREV -( SfxBoolItem ScrollNextPrev FN_SCROLL_NEXT_PREV ) +SfxVoidItem NavigationPopup FN_NAVIGATION_POPUP +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +SfxVoidItem ScrollToPrevious FN_SCROLL_PREV +() +[ + /* flags: */ + AutoUpdate = FALSE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + /* config: */ + AccelConfig = FALSE, + MenuConfig = FALSE, + StatusBarConfig = FALSE, + ToolBoxConfig = FALSE, + GroupId = GID_NAVIGATOR; +] + +SfxVoidItem ScrollToNext FN_SCROLL_NEXT +() [ /* flags: */ AutoUpdate = FALSE, |