diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-20 20:02:13 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2011-06-20 20:02:13 (GMT) |
commit | cd00af6a98e91d623a44c81af824082f8d14d95b (patch) | |
tree | 26257ebfc62fca4be47801f8eaccde166a0b84e3 /ground.py | |
parent | 9190b26da1387b9e1d9cbb66a1fc1d2addfe115f (diff) |
pep8 fixes
Diffstat (limited to 'ground.py')
-rw-r--r-- | ground.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -28,6 +28,7 @@ def load(): if Document.ground and Document.ground.custom(): THEMES.append(Document.ground) + class Ground: def __init__(self, name, id): self.name = name @@ -51,6 +52,7 @@ class Ground: def select(self): return self + class PreinstalledGround(Ground): def __init__(self, name, filename): Ground.__init__(self, name, filename) @@ -59,6 +61,7 @@ class PreinstalledGround(Ground): def custom(self): return False + class CustomGround(Ground): def __init__(self, name, filename): Ground.__init__(self, name, None) @@ -71,11 +74,13 @@ class CustomGround(Ground): except: return None + class RestoredGround(Ground): def __init__(self, name, id, data): Ground.__init__(self, name, id) self._orig = pixbuf.from_str(data) + class JournalGround(Ground): def __init__(self, jobject): Ground.__init__(self, jobject.metadata['title'], jobject.object_id) |