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/graphics/alert.py | |
parent | ecdaf6b795550158273ba3a0d582f7ff2bec3187 (diff) |
PEP8 white space and long line fixes
Diffstat (limited to 'src/sugar/graphics/alert.py')
-rw-r--r-- | src/sugar/graphics/alert.py | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/sugar/graphics/alert.py b/src/sugar/graphics/alert.py index b108d9d..4441909 100644 --- a/src/sugar/graphics/alert.py +++ b/src/sugar/graphics/alert.py @@ -54,8 +54,10 @@ import math from sugar.graphics import style from sugar.graphics.icon import Icon + _ = lambda msg: gettext.dgettext('sugar-toolkit', msg) + class Alert(gtk.EventBox): """ UI interface for Alerts @@ -78,18 +80,14 @@ class Alert(gtk.EventBox): __gtype_name__ = 'SugarAlert' __gsignals__ = { - 'response': (gobject.SIGNAL_RUN_FIRST, - gobject.TYPE_NONE, ([object])) - } + 'response': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ([object])), + } __gproperties__ = { - 'title' : (str, None, None, None, - gobject.PARAM_READWRITE), - 'msg' : (str, None, None, None, - gobject.PARAM_READWRITE), - 'icon' : (object, None, None, - gobject.PARAM_WRITABLE) - } + 'title': (str, None, None, None, gobject.PARAM_READWRITE), + 'msg': (str, None, None, None, gobject.PARAM_READWRITE), + 'icon': (object, None, None, gobject.PARAM_WRITABLE), + } def __init__(self, **kwargs): |