[Pidgin] #5447: Buddy list sort by recent activity

Pidgin trac at pidgin.im
Wed Nov 26 11:23:58 EST 2008


#5447: Buddy list sort by recent activity
-------------------------------------+--------------------------------------
 Reporter:  cconnett                 |        Owner:  rlaager     
     Type:  patch                    |       Status:  new         
Milestone:                           |    Component:  pidgin (gtk)
  Version:  2.5.2                    |   Resolution:              
 Keywords:  buddylist sort activity  |  
-------------------------------------+--------------------------------------

Comment(by rlaager):

 Stupid Trac formatting. I hadn't intended for the reference to number 2 to
 be a link to bug 2, but rather it was me referring to the number 2 point
 in that post. Also, here's the code, properly formatted:
 {{{
     PurpleBlistNode *n;
     ...
     log_size += purple_log_get_activity_score(PURPLE_LOG_IM,
 ((PurpleBuddy*)(n))->name, ((PurpleBuddy*)(n))->account);

     I'd like to see it look like this so it's easier to read:
     PurpleBlistNode *n;
     PurpleBuddy *buddy;
     ...
     buddy = (PurpleBuddy *)n;
     log_size += purple_log_get_activity_score(PURPLE_LOG_IM, buddy->name,
 buddy->account);
 }}}

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


More information about the Tracker mailing list