Merge lp:~ambientrevolution/scratch/1078826 into lp:~elementary-apps/scratch/scratch

Proposed by Justin S
Status: Merged
Merged at revision: 1154
Proposed branch: lp:~ambientrevolution/scratch/1078826
Merge into: lp:~elementary-apps/scratch/scratch
Diff against target: 15 lines (+3/-0)
1 file modified
src/Widgets/SearchManager.vala (+3/-0)
To merge this branch: bzr merge lp:~ambientrevolution/scratch/1078826
Reviewer Review Type Date Requested Status
elementary Apps team Pending
Review via email: mp+176823@code.launchpad.net

Description of the change

Just prepending <Shift> when the shift gdk event is present in the search box.

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
=== modified file 'src/Widgets/SearchManager.vala'
--- src/Widgets/SearchManager.vala 2013-06-11 04:36:42 +0000
+++ src/Widgets/SearchManager.vala 2013-07-24 23:51:27 +0000
@@ -363,8 +363,11 @@
363 if (search_entry.text == "")363 if (search_entry.text == "")
364 return false;364 return false;
365 string key = Gdk.keyval_name (event.keyval);365 string key = Gdk.keyval_name (event.keyval);
366 if ( event.state == Gdk.ModifierType.SHIFT_MASK )
367 key = "<Shift>" + key;
366 switch (key)368 switch (key)
367 {369 {
370 case "<Shift>Return":
368 case "Up":371 case "Up":
369 search_previous ();372 search_previous ();
370 return true;373 return true;

Subscribers

People subscribed via source and target branches