read the patches out of ../../patches rather than ./

This commit is contained in:
Jon Dowland 2008-01-29 23:02:46 +00:00
parent afd601d75e
commit 33a98b263e
5 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -47,7 +47,7 @@ class HellowWorldGTK:
# read the patches into pixbufs
# a horrid hack to get them client->server side
for patch in texture.patches:
self.image1.set_from_file(patch.name.lower() + ".gif")
self.image1.set_from_file("../../patches/" + patch.name.lower() + ".gif")
patch.pixbuf = self.image1.get_pixbuf()
texbuf = gtk.gdk.Pixbuf(