[Pidgin] #5876: ability to hide away/idle buddies as well as mobile buddies

Pidgin trac at pidgin.im
Tue Jun 3 14:58:32 EDT 2008


#5876: ability to hide away/idle buddies as well as mobile buddies
---------------------------+------------------------------------------------
  Reporter:  sumitk        |       Owner:                             
      Type:  patch         |      Status:  new                        
  Priority:  minor         |   Milestone:  Patches Needing Improvement
 Component:  pidgin (gtk)  |     Version:  2.4.2                      
Resolution:                |    Keywords:                             
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by sumitk):

 Replying to [comment:5 sadrul]:
 > I think something like a !FinchBlistManager
 (http://developer.pidgin.im/doxygen/dev/html/structFinchBlistManager.html)
 would be useful for Pidgin too (except 'find_parent', perhaps). That would
 allow plugins to determine whether to show a particular blist-node or not
 with finer granularity (with the current behaviour as the default, of
 course). So there could be a plugin that could hide idle buddies, away
 buddies (for its own definition of 'away'ness), idle or away buddies,
 mobile buddies, buddies who are not listening to any songs etc. etc.
 >
 > Thoughts?
 >
 > About the API additions: some of them (e.g.
 purple_blist_get_non_away_online_count) look very special purpose, and
 doesn't need to be in the API at all. (also, you may want to look at
 purple_blist_node_next).
 Will remove them as API.

 > purple_blist_node_get_bool_with_default looks like a good idea (the
 documentation for it is not quite correct, though ;) ). We should probably
 have those for _get_int and _get_string too. Perhaps there should also be
 a 'purple_blist_node_has_setting' to check whether a particular setting is
 set for a blistnode. Or it could return a PurpleValue for the setting
 (NULL when none is set). That would help in pref-migration if the type of
 a setting is changed.
 >
 > purple_presence_away doesn't look all that good (especially with the
 weird include-parameters).
 Yeah, I know. Will clean those API's. (remove those include-params)

 >>I agree with rlaager that checking for online and !available should do.
 Still, I am thinking that this will also hide dnd buddies and will not be
 able to differ b/w "dnd" and away. (if I set show when away for that
 buddy, buddy will be displayed when he is dnd as well as when away). What
 do you say ??

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


More information about the Tracker mailing list