diff options
author | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 17:58:44 -0700 |
---|---|---|
committer | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 17:58:44 -0700 |
commit | 0aa1eb5f6cb83f61f37fcb3fbdf4a1a93e5dfe84 (patch) | |
tree | 679dfe3996d1b387f6ff0b2657b73fddee2731f6 | |
parent | 72fe208144109af5a4d2ed8533c6d35194b8b636 (diff) | |
download | fedora-tour-0aa1eb5f6cb83f61f37fcb3fbdf4a1a93e5dfe84.tar.gz fedora-tour-0aa1eb5f6cb83f61f37fcb3fbdf4a1a93e5dfe84.tar.xz fedora-tour-0aa1eb5f6cb83f61f37fcb3fbdf4a1a93e5dfe84.zip |
Working image drawing; all of a sudden the "do-this-with-cairo-or
perish-mortal!" idea is gone, and this becomes MUCH easier :)
-rw-r--r-- | frontend/tour_gtk_frontend.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/frontend/tour_gtk_frontend.py b/frontend/tour_gtk_frontend.py index 1397bad..d0a88aa 100644 --- a/frontend/tour_gtk_frontend.py +++ b/frontend/tour_gtk_frontend.py @@ -49,10 +49,14 @@ class Frontend: class InitialTreeView: def __init__(self, window): - self.draw() + self.draw(window) window.show() - def draw(self): + def draw(self, window): + image = gtk.Image() + image.set_from_file("/usr/share/pixmaps/fedora-logo-small.png") + window.add(image) + image.show() pass def erase(self): |