← Back to team overview

ayatana-commits team mailing list archive

[Branch ~indicator-applet-developers/indicator-applet/indicate-python] Rev 31: Bring in Ken's updates to the im-client demo for v2

 

Merge authors:
  Ken VanDine (ken-vandine)
Related merge proposals:
  https://code.launchpad.net/~ken-vandine/indicator-applet/python-v2work/+merge/11968
  proposed by: Ken VanDine (ken-vandine)
------------------------------------------------------------
revno: 31 [merge]
committer: Ted Gould <ted@xxxxxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2009-09-17 09:19:08 -0500
message:
  Bring in Ken's updates to the im-client demo for v2
modified:
  tests/im-client.py


--
lp:indicator-applet/python0.2
https://code.launchpad.net/~indicator-applet-developers/indicator-applet/indicate-python

Your team ayatana-commits is subscribed to branch lp:indicator-applet/python0.2.
To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/indicator-applet/indicate-python/+edit-subscription.
=== modified file 'tests/im-client.py'
--- tests/im-client.py	2009-04-08 15:35:22 +0000
+++ tests/im-client.py	2009-09-17 14:19:08 +0000
@@ -29,8 +29,8 @@
 import gtk
 from time import time
 
-PATHA = "/usr/share/icons/hicolor/16x16/apps/pidgin.png"
-PATHB = "/usr/share/icons/hicolor/22x22/apps/pidgin.png"
+PATHA = "/usr/share/icons/hicolor/16x16/apps/empathy.png"
+PATHB = "/usr/share/icons/hicolor/22x22/apps/empathy.png"
 lastpath = None
 
 def timeout_cb(indicator):
@@ -58,12 +58,11 @@
 if __name__ == "__main__":
     server = indicate.indicate_server_ref_default()
     server.set_type("message.im")
-    server.set_desktop_file("/usr/share/applications/pidgin.desktop")
+    server.set_desktop_file("/usr/share/applications/empathy.desktop")
     server.connect("server-display", server_display)
     
-    indicator = indicate.IndicatorMessage()
-    indicator.set_property("subtype", "im")
-    indicator.set_property("sender", "IM Client Test")
+    indicator = indicate.Indicator()
+    indicator.set_property("name", "IM Client Test")
     indicator.set_property_time("time", time())
     indicator.show()