Merge lp:~jeremywootten/pantheon-files/stop-close-last-tab into lp:~elementary-apps/pantheon-files/trunk
Proposed by
Jeremy Wootten
Status: | Merged |
---|---|
Approved by: | Cody Garver |
Approved revision: | 1502 |
Merged at revision: | 1502 |
Proposed branch: | lp:~jeremywootten/pantheon-files/stop-close-last-tab |
Merge into: | lp:~elementary-apps/pantheon-files/trunk |
Diff against target: |
27 lines (+8/-2) 1 file modified
src/View/Window.vala (+8/-2) |
To merge this branch: | bzr merge lp:~jeremywootten/pantheon-files/stop-close-last-tab |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Gomes (community) | Needs Fixing | ||
Review via email: mp+219959@code.launchpad.net |
Commit message
Ensure new tab is created if last tab is closed to fix bug #1320602.
This makes the behaviour of Ctrl-W and the associated menu item the same as clicking on the close button of a tab, i.e. if the tab is the last one open then a new tab is made showing the users home folder.
Description of the change
This branch makes the behaviour of Ctrl-W and the associated menu item the same as clicking on the close button of a tab, i.e. if the tab is the last one open then a new tab is made showing the users home folder.
To post a comment you must log in.
I'd rename real_remove_tab to actual_remove_tab, it's more symbolic. Other than that, the code is fine I'll just have to test it.