Merge lp:~roryj/switchboard/fix-1397227 into lp:~elementary-pantheon/switchboard/switchboard

Proposed by Rory
Status: Merged
Approved by: Danielle Foré
Approved revision: 536
Merged at revision: 536
Proposed branch: lp:~roryj/switchboard/fix-1397227
Merge into: lp:~elementary-pantheon/switchboard/switchboard
Diff against target: 11 lines (+1/-1)
1 file modified
src/Switchboard.vala (+1/-1)
To merge this branch: bzr merge lp:~roryj/switchboard/fix-1397227
Reviewer Review Type Date Requested Status
elementary Pantheon team Pending
Review via email: mp+249133@code.launchpad.net

Commit message

Go back to all settings when alt + left are pressed

Description of the change

Go back to all settings when alt + left are pressed

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Switchboard.vala'
2--- src/Switchboard.vala 2014-12-10 09:08:33 +0000
3+++ src/Switchboard.vala 2015-02-09 23:17:52 +0000
4@@ -406,7 +406,7 @@
5 // Focus typing to the search bar
6 main_window.key_press_event.connect ((event) => {
7 // alt+left should go back to all settings
8- if ((event.state | Gdk.ModifierType.MOD1_MASK) != 0 && event.keyval == Gdk.Key.Left) {
9+ if (Gdk.ModifierType.MOD1_MASK in event.state && event.keyval == Gdk.Key.Left) {
10 navigation_button.clicked ();
11 }
12

Subscribers

People subscribed via source and target branches

to all changes: