Merge lp:~ian-liu88/unity-lens-applications/fix-for-bug-734762 into lp:unity-lens-applications
Proposed by
Ian Liu Rodrigues
Status: | Merged |
---|---|
Merged at revision: | 198 |
Proposed branch: | lp:~ian-liu88/unity-lens-applications/fix-for-bug-734762 |
Merge into: | lp:unity-lens-applications |
Diff against target: |
105 lines (+43/-5) 4 files modified
src/Makefile.am (+1/-0) src/daemon.vala (+8/-3) src/runner.vala (+2/-1) src/utils.vala (+32/-1) |
To merge this branch: | bzr merge lp:~ian-liu88/unity-lens-applications/fix-for-bug-734762 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
Review via email: mp+55457@code.launchpad.net |
Description of the change
The intent of this branch is to interpret the tilde character as the home directory before executing commands. Substitution of ~user also works.
To post a comment you must log in.
Excellent Ian! Working as advertised and the code looks good :)
I wondering if you want to do the final polish on that, I mean:
Type Alt + F2:
- enter ~foo/bar
-> the directories matching in instance: /home/foo/bar* as we have with direct typing in /home/foo/bar*
For that, I would: string. has_prefix ("/")), add a or "~" in search_string and call the subst_tilde function to introspect in it.
- move subst_tilde to src/utils.vala
- in update_search for runner.vala, in addition to if (search_
Anyway, just tell me if you want to finish this or not, I can do it, you've already made most of the hard work and thanks for this! :)