Merge lp:~vikoadi/pantheon-files/fix-path-completion into lp:~elementary-apps/pantheon-files/trunk
Proposed by
Viko Adi Rahmawan
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Danielle Foré | ||||
Approved revision: | 1607 | ||||
Merged at revision: | 1652 | ||||
Proposed branch: | lp:~vikoadi/pantheon-files/fix-path-completion | ||||
Merge into: | lp:~elementary-apps/pantheon-files/trunk | ||||
Diff against target: |
23 lines (+9/-2) 1 file modified
src/View/LocationBar.vala (+9/-2) |
||||
To merge this branch: | bzr merge lp:~vikoadi/pantheon-files/fix-path-completion | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Viko Adi Rahmawan (community) | Needs Resubmitting | ||
Jeremy Wootten | Approve | ||
Review via email: mp+237313@code.launchpad.net |
Commit message
Fix locationbar completion (lp:1376775)
Description of the change
Fix locationbar completion (lp:1376775)
using get_basename () for "/folder/name/" will return "name" in to_search so i just set to_search value to "" if we have "/" as path suffix
To post a comment you must log in.
In line 12, last_slash + 1 < text.length could be changed to last_slash <= text.length to avoid an unnecessary arithmetic operation.
Other than that, I approve.