Merge lp:~jeremywootten/pantheon-files/fix-regression-rename-in-listview-does-not-grab-keyboard-focus into lp:~elementary-apps/pantheon-files/trunk
Proposed by
Jeremy Wootten
Status: | Merged |
---|---|
Approved by: | David Hewitt |
Approved revision: | 2524 |
Merged at revision: | 2524 |
Proposed branch: | lp:~jeremywootten/pantheon-files/fix-regression-rename-in-listview-does-not-grab-keyboard-focus |
Merge into: | lp:~elementary-apps/pantheon-files/trunk |
Diff against target: |
35 lines (+10/-1) 1 file modified
src/View/Widgets/SingleLineEditableLabel.vala (+10/-1) |
To merge this branch: | bzr merge lp:~jeremywootten/pantheon-files/fix-regression-rename-in-listview-does-not-grab-keyboard-focus |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Hewitt | Approve | ||
Review via email: mp+319853@code.launchpad.net |
Commit message
Fix regression caused by r2522
Description of the change
This branch fixes a regression in renaming using list and column view using only keyboard caused by fix recently merged at r2522.
While that fix worked if the name was clicked on to edit, immediately typing in a new name did not work. While the appropriate part of the name appeared selected, the editable widget did not have keyboard focus.
A slightly less simple fix is needed, delaying the selection of the required region until the editable widget (Gtk.Entry) is realized and the start_editing method has been called.
To post a comment you must log in.
Can confirm this fixes the regression and still works fine for renaming by right clicking and selecting rename.