GNOME Bugzilla – Bug 643137
keynav should skip section headers
Last modified: 2011-02-26 10:35:01 UTC
since section headers ('Bookmarks', 'Computer', etc.) cannot be selected with the mouse, IMO it makes sense to skip them when navigating with the keyboard as well.
Created attachment 181758 [details] [review] patch implements the proposed behavior
Review of attachment 181758 [details] [review]: Hey Stefano, nice patch; looks good. Why don't we do this also when the Ctrl modifier is active?
Created attachment 181829 [details] [review] revised patch Cosimo: as far as I can see there's no way to set the prelight entry using the GtkTreeView API (plus, the pre-selection feature in the places sidebar doesn't really have any use), so I assume you are asking to just remove the (modifiers == 0) clause from the conditions. In this case, the attached patch should do the trick.
Comment on attachment 181829 [details] [review] revised patch As you do that after we check for Alt+Down, looks good. Thanks!
Committed as 789d71e7edbc3f60668c305adb4da9bbdd94b4d6. Thanks again :-)