diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-09 10:23:32 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-09 10:23:32 (GMT) |
commit | da1df8da094da605786faeb2fa6d7ba5ab6b4928 (patch) | |
tree | 52828aba3232a7c585c8398bd7175d18dd089666 /ground.py | |
parent | c1954705fa0123dc91265098b3e375b4919572de (diff) |
Add collab code
Diffstat (limited to 'ground.py')
-rw-r--r-- | ground.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -22,7 +22,7 @@ def load(): from document import Document if Document.ground and Document.ground.custom(): - THEMES.insert(-1, Document.ground) + THEMES.append(Document.ground) class Ground: def __init__(self, name, id): @@ -33,7 +33,7 @@ class Ground: def custom(self): return True - def read(self): + def serialize(self): return theme.pixbuf2str(self._orig) def thumb(self): @@ -75,6 +75,7 @@ class JournalGround(Ground): def __init__(self, jobject): Ground.__init__(self, jobject.metadata['title'], jobject.object_id) self._orig = theme.pixbuf(jobject.file_path) + THEMES.append(self) THEMES = [ PreinstalledGround(_('Saturn'), 'images/backpics/bigbg01.gif'), |