summaryrefslogtreecommitdiffstats
path: root/frontend
diff options
context:
space:
mode:
authorRyan Rix <phrkonaleash@gmail.com>2009-12-08 18:28:04 -0700
committerRyan Rix <phrkonaleash@gmail.com>2009-12-08 18:28:04 -0700
commit5dabbdc68d26b4c99c61541141bae5f67b178ab6 (patch)
treeb4012504d7abc6a7902538c2c1432ae51318f5f9 /frontend
parentadae561b97e486de4179a1aed27625f04b8e2f32 (diff)
downloadfedora-tour-5dabbdc68d26b4c99c61541141bae5f67b178ab6.tar.gz
fedora-tour-5dabbdc68d26b4c99c61541141bae5f67b178ab6.tar.xz
fedora-tour-5dabbdc68d26b4c99c61541141bae5f67b178ab6.zip
Checking if Gtk.Image can render SVG. it can :)
Diffstat (limited to 'frontend')
-rw-r--r--frontend/tour_gtk_frontend.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/frontend/tour_gtk_frontend.py b/frontend/tour_gtk_frontend.py
index d0a88aa..1f08636 100644
--- a/frontend/tour_gtk_frontend.py
+++ b/frontend/tour_gtk_frontend.py
@@ -53,10 +53,13 @@ class InitialTreeView:
window.show()
def draw(self, window):
- image = gtk.Image()
- image.set_from_file("/usr/share/pixmaps/fedora-logo-small.png")
- window.add(image)
- image.show()
+ #image = gtk.Image()
+ #image.set_from_file("/usr/share/pixmaps/fedora-logo-small.png")
+ image2 = gtk.Image()
+ image2.set_from_file("../data/tree.svg")
+ #window.add(image)
+ window.add(image2)
+ image2.show()
pass
def erase(self):