diff options
author | Ali Sabil <ali.sabil@gmail.com> | 2007-03-27 18:07:03 +0530 |
---|---|---|
committer | Ali Sabil <ali.sabil@gmail.com> | 2007-03-27 18:07:03 +0530 |
commit | 4e39701b685c8f09b81c099194c537e38df6d168 (patch) | |
tree | 835834484728176b6c08ae167b2f546e9cac8379 /test.py | |
parent | 3ffc30821d889d6d25da8401fedb37f83b3c9deb (diff) |
- Added some callbacks to Client
- Fixed a minor parsing error for ADL commands
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -30,9 +30,9 @@ class Client(pymsn.Client): pymsn.Client.__init__(self, server, account, get_proxies(), HTTPPollConnection) else: pymsn.Client.__init__(self, server, account, proxies = get_proxies()) - gobject.idle_add(self.connect) + gobject.idle_add(self._connect) - def connect(self): + def _connect(self): self.login() return False @@ -46,6 +46,8 @@ class Client(pymsn.Client): def on_login_success(self, proto): self.profile.presence = pymsn.Presence.ONLINE + self.profile.display_name = "Kimbix" + self.profile.personal_message = "Testing pymsn, and freeing the pandas!" def main(): import sys |