diff options
author | Sascha Silbe <sascha@silbe.org> | 2009-08-25 19:12:40 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha@silbe.org> | 2009-08-25 19:12:40 (GMT) |
commit | c9e63eb8eadb0b133b88e9feb1ca48b75d959a7c (patch) | |
tree | 3c62d81817405896977ae5e8ccfc0be5b5da7861 /src/sugar/presence/buddy.py | |
parent | ecdaf6b795550158273ba3a0d582f7ff2bec3187 (diff) |
PEP8 white space and long line fixes
Diffstat (limited to 'src/sugar/presence/buddy.py')
-rw-r--r-- | src/sugar/presence/buddy.py | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/sugar/presence/buddy.py b/src/sugar/presence/buddy.py index f97682a..2978e4d 100644 --- a/src/sugar/presence/buddy.py +++ b/src/sugar/presence/buddy.py @@ -24,6 +24,7 @@ import gobject import gtk import dbus + class Buddy(gobject.GObject): """UI interface for a Buddy in the presence service @@ -40,26 +41,26 @@ class Buddy(gobject.GObject): 'icon': (XXX pixel data for an icon?) See __gproperties__ """ + __gsignals__ = { - 'icon-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, - ([])), + 'icon-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ([])), 'joined-activity': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, - ([gobject.TYPE_PYOBJECT])), + ([gobject.TYPE_PYOBJECT])), 'left-activity': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, - ([gobject.TYPE_PYOBJECT])), + ([gobject.TYPE_PYOBJECT])), 'property-changed': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, - ([gobject.TYPE_PYOBJECT])), + ([gobject.TYPE_PYOBJECT])), } __gproperties__ = { - 'key' : (str, None, None, None, gobject.PARAM_READABLE), - 'icon' : (str, None, None, None, gobject.PARAM_READABLE), - 'nick' : (str, None, None, None, gobject.PARAM_READABLE), - 'color' : (str, None, None, None, gobject.PARAM_READABLE), - 'current-activity' : (object, None, None, gobject.PARAM_READABLE), - 'owner' : (bool, None, None, False, gobject.PARAM_READABLE), - 'ip4-address' : (str, None, None, None, gobject.PARAM_READABLE), - 'tags' : (str, None, None, None, gobject.PARAM_READABLE), + 'key': (str, None, None, None, gobject.PARAM_READABLE), + 'icon': (str, None, None, None, gobject.PARAM_READABLE), + 'nick': (str, None, None, None, gobject.PARAM_READABLE), + 'color': (str, None, None, None, gobject.PARAM_READABLE), + 'current-activity': (object, None, None, gobject.PARAM_READABLE), + 'owner': (bool, None, None, False, gobject.PARAM_READABLE), + 'ip4-address': (str, None, None, None, gobject.PARAM_READABLE), + 'tags': (str, None, None, None, gobject.PARAM_READABLE), } _PRESENCE_SERVICE = "org.laptop.Sugar.Presence" |