Stop in list at ends

This commit is contained in:
Alexander Larsson 2012-05-14 16:30:19 +02:00
parent 2d5e2ad20e
commit bb54cc89a6

View file

@ -458,8 +458,14 @@ public class Contacts.Sorted : Container {
}
}
if (next_focus_child == null)
if (next_focus_child == null) {
if (direction == DirectionType.UP || direction == DirectionType.DOWN) {
error_bell ();
return true;
}
return false;
}
bool modify_selection_pressed = false;
Gdk.ModifierType state;