[Pidgin] #13542: expose function via dbus to get 'unseen-count'

Pidgin trac at pidgin.im
Fri Nov 16 04:15:36 EST 2012

#13542: expose function via dbus to get 'unseen-count'
 Reporter:  badboy_          |       Owner:
     Type:  enhancement      |      Status:  new
Milestone:  Patches welcome  |   Component:  libpurple
  Version:                   |  Resolution:
 Keywords:  dbus unseen      |

Comment (by thomaslee):

 I think I'm capable of tackling this (and I'd find it useful -- I want to
 see unread messages in my i3bar, but this is blocking me :)).

 Looks like I could implement this as a dbus wrapper method in dbus-
 server.c per deryni's conversation from ~2 years ago, but it seems it
 would be cleaner to add e.g.

 purple_conversation_get_unseen(const PurpleConversation *conv)

 to conversation.h & let dbus-analyze-functions.py work its magic to expose
 it via DBus. Of course, this would expose purple_conversation_get_unseen
 via the C API (something which is already accessible via
 purple_conversation_get_data to boot). Not sure how much anybody cares.

 I can have a crack at this over the weekend, but any strong opinions wrt
 the implementation?

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

More information about the Tracker mailing list