Commit 767da28
committed
svnbrowse: When going up a directory, select the recently visited node in the
list.
* subversion/svnbrowse/model.c
(svn_browse__model_go_up): Loop through all items in the list to find the
node with the same matching name as the name we obtained from
svn_relpath_split(). In case if no items were found with this name (which is
possible as it could be deleted by now), just select the first element.
* subversion/svnbrowse/svnbrowse.c
(view_on_event): Center the view after executing go_up action; The exact same
code as in 'z' handling.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1932956 13f79535-47bb-0310-9956-ffa450edef681 parent c925fbb commit 767da28
2 files changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
172 | 189 | | |
173 | 190 | | |
174 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
0 commit comments