Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Char.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-01-19 23:09:56 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-01-21 11:51:11 (GMT)
commit2f6cfeaa40169abc01069a2ee98134d474ca632b (patch)
treed48b37fd1037d1930e15e7917e4fe867952c8cef /Char.py
parent5a6b5821d3403bfd0ee41781bf3fe6e645d7a027 (diff)
...
Diffstat (limited to 'Char.py')
-rw-r--r--Char.py28
1 files changed, 23 insertions, 5 deletions
diff --git a/Char.py b/Char.py
index c47b79e..9666543 100644
--- a/Char.py
+++ b/Char.py
@@ -13,13 +13,31 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import gtk
+from gettext import gettext as _
+
+import Theme
+
+THEMES = (
+ { 'name' : _('Elephant'),
+ 'pixbuf': Theme.pixmap('images/pics/Elephant/bigelephant0.gif'),
+ 'dir' : 'images/pics/Elephant',
+ 'custom': None },
+ { 'name' : _('Space Blob'),
+ 'pixbuf': Theme.pixmap('images/pics/SpaceBlob/bigblob8.gif'),
+ 'dir' : 'images/pics/SpaceBlob',
+ 'custom': None },
+ { 'name' : _('Turkey'),
+ 'pixbuf': Theme.pixmap('images/pics/Turkey/bigturkey1.gif'),
+ 'dir' : 'images/pics/Turkey',
+ 'custom': None },
+ None,
+ { 'name' : _('Custom'),
+ 'pixbuf': Theme.pixmap('images/pics/custom.png'),
+ 'dir' : None,
+ 'custom': True } )
+
-class Char:
- id = 0
- pixbuf = None #gtk.gdk.Pixbuf()
-def themes():
- return [None]
"""