~voluntatefaber/slingshot/keyboard-support

« back to all changes in this revision

Viewing changes to src/SlingshotView.vala

  • Committer: Andrea Basso
  • Date: 2012-06-17 10:16:54 UTC
  • Revision ID: voluntatefaber@gmail.com-20120617101654-8mgv7c8xhlwksu4t
Bad limit-case handling of the top Category fixed

Show diffs side-by-side

added added

removed removed

Lines of Context:
475
475
                    }        
476
476
                    else if (modality == Modality.CATEGORY_VIEW) {
477
477
                        if (event.state == Gdk.ModifierType.SHIFT_MASK) { // Shift + Up
478
 
                            if (category_view.category_switcher.selected != 1) {
 
478
                            if (category_view.category_switcher.selected != 0) {
479
479
                                category_view.category_switcher.selected--;
480
480
                                top_left_focus ();
481
481
                            }