r6922 - online-desktop/trunk/pyddm
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r6922 - online-desktop/trunk/pyddm
- Date: Thu, 15 Nov 2007 16:22:47 -0600 (CST)
Author: hp
Date: 2007-11-15 16:22:47 -0600 (Thu, 15 Nov 2007)
New Revision: 6922
Modified:
online-desktop/trunk/pyddm/ddm-viewer
Log:
make ddm-viewer display contacts.aimBuddies
Modified: online-desktop/trunk/pyddm/ddm-viewer
===================================================================
--- online-desktop/trunk/pyddm/ddm-viewer 2007-11-15 21:16:07 UTC (rev 6921)
+++ online-desktop/trunk/pyddm/ddm-viewer 2007-11-15 22:22:47 UTC (rev 6922)
@@ -22,11 +22,11 @@
query = model.query_resource(model.self_resource.resource_id,
- "+;contacts +;userContacts +;contacters +;lovedAccounts +;topApplications+;pinnedApplications+;email;aim")
+ "+;contacts [+;aimBuddies];userContacts +;contacters +;lovedAccounts +;topApplications+;pinnedApplications+;email;aim")
query.execute()
- #query = model.query_resource("online-desktop:/o/global", "onlineBuddies [+;icon]")
- #query.execute()
+ query = model.query_resource("online-desktop:/o/global", "aimBuddies [+;icon]")
+ query.execute()
def image_from_data_url(url):
## data:image/png;base64,BASE64DATA
@@ -139,7 +139,8 @@
self.__store.append(found_row.iter, [None, name[1], name[0], value, pixbuf])
def __resource_added(self, resource):
- self.__store.append(None, [ resource.resource_id, None, None, None, None ] )
+ description = resource.resource_id #+ " is a " + resource.class_id
+ self.__store.append(None, [ description, None, None, None, None ] )
resource.connect(self.__on_resource_changed, property=None)
self.__on_resource_changed(resource)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]