diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-10-15 17:53:25 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-10-15 17:53:25 (GMT) |
commit | 3a7687dcf0c22a9591b05ec98500a56ce96610fe (patch) | |
tree | 8dea5b73b927497029d09f0f6d25927008c4f689 /src/sugar/graphics | |
parent | d30d9dcc2031678f230b2a3c65ffd7bcf97d685b (diff) |
PEP8 cleanup: fix number of blank linest/versions
Caught by pep8.
Diffstat (limited to 'src/sugar/graphics')
-rw-r--r-- | src/sugar/graphics/alert.py | 2 | ||||
-rw-r--r-- | src/sugar/graphics/palettewindow.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/sugar/graphics/alert.py b/src/sugar/graphics/alert.py index a4dd017..0202a66 100644 --- a/src/sugar/graphics/alert.py +++ b/src/sugar/graphics/alert.py @@ -291,6 +291,7 @@ class ConfirmationAlert(Alert): self.add_button(gtk.RESPONSE_OK, _('Ok'), icon) icon.show() + class ErrorAlert(Alert): """ This is a ready-made one button (Ok) alert. @@ -336,6 +337,7 @@ class ErrorAlert(Alert): self.add_button(gtk.RESPONSE_OK, _('Ok'), icon) icon.show() + class _TimeoutIcon(hippo.CanvasText, hippo.CanvasItem): """An icon with a round border""" __gtype_name__ = 'AlertTimeoutIcon' diff --git a/src/sugar/graphics/palettewindow.py b/src/sugar/graphics/palettewindow.py index f51c938..e76e952 100644 --- a/src/sugar/graphics/palettewindow.py +++ b/src/sugar/graphics/palettewindow.py @@ -669,6 +669,7 @@ class Invoker(gobject.GObject): if not self.props.cache_palette: self.set_palette(None) + class WidgetInvoker(Invoker): def __init__(self, parent=None, widget=None): |