Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ground.py
diff options
context:
space:
mode:
authorAleksey 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)
commitda1df8da094da605786faeb2fa6d7ba5ab6b4928 (patch)
tree52828aba3232a7c585c8398bd7175d18dd089666 /ground.py
parentc1954705fa0123dc91265098b3e375b4919572de (diff)
Add collab code
Diffstat (limited to 'ground.py')
-rw-r--r--ground.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ground.py b/ground.py
index 4aef242..1f97514 100644
--- a/ground.py
+++ b/ground.py
@@ -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'),