[Pidgin] #1360: Arrow keys in status menu should skip separator lines

Pidgin trac at pidgin.im
Wed May 30 19:21:25 EDT 2007


#1360: Arrow keys in status menu should skip separator lines
---------------------------+------------------------------------------------
  Reporter:  elb           |       Owner:       
      Type:  enhancement   |      Status:  new  
  Priority:  minor         |   Milestone:       
 Component:  pidgin (gtk)  |     Version:  2.0.1
Resolution:                |    Keywords:       
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by QuLogic):

 Here's a patch that seems to work. Don't know if it'll work on
 Windows.[[BR]]

 By comparing the selected row to the focused row, it can tell whether
 focus is on a separator (separators can't be selected). Then it just moves
 focus in (what should be) the right direction, which automatically
 corrects the selection as well. It should work when paging up or down, but
 I don't have a long enough list to tell. It's sorta hack-ish, but I
 couldn't really find any "official" way to do it. The only problem is if
 there's a separator at the beginning or end of the list, but I don't think
 that ever happens.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1360#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list