diff options
author | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 18:28:04 -0700 |
---|---|---|
committer | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 18:28:04 -0700 |
commit | 5dabbdc68d26b4c99c61541141bae5f67b178ab6 (patch) | |
tree | b4012504d7abc6a7902538c2c1432ae51318f5f9 /frontend | |
parent | adae561b97e486de4179a1aed27625f04b8e2f32 (diff) | |
download | fedora-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.py | 11 |
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): |