~pyjamateam/pyjama/main

« back to all changes in this revision

Viewing changes to release/src/modules/clWidgets.py

  • Committer: Daniel Nögel
  • Date: 2010-01-29 15:50:06 UTC
  • Revision ID: daniel@kassandra-20100129155006-5q3e3n7kadvtr7gc
* fixed the the image-bug
* you need to delete all files from ~/.pyjama/images in order to make it work

Show diffs side-by-side

added added

removed removed

Lines of Context:
900
900
            pb = gtk.gdk.pixbuf_new_from_file_at_size(imagepath, 100, 100)
901
901
            self.image.set_from_pixbuf(pb)
902
902
        except:
 
903
            print("Could not read %s" % imagepath)
903
904
            self.image.set_from_stock(gtk.STOCK_MISSING_IMAGE, gtk.ICON_SIZE_DIALOG)
904
905
        self.image.show()
905
906