diff options
author | Matt Wilson <msw@redhat.com> | 2001-11-27 19:56:23 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-11-27 19:56:23 +0000 |
commit | 10d95227c6842be56d24a9162d086b3b74379574 (patch) | |
tree | 0d9bd841b7c04285ddd4cdf82f82ec2af0bb59af /gui.py | |
parent | 1a069271b3e1f22f4205b58a3c2de4c331fdb47e (diff) | |
download | anaconda-10d95227c6842be56d24a9162d086b3b74379574.tar.gz anaconda-10d95227c6842be56d24a9162d086b3b74379574.tar.xz anaconda-10d95227c6842be56d24a9162d086b3b74379574.zip |
make graphics gray out when insensitive
small fixes to partitioning.
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -927,8 +927,13 @@ class InstallControlState: if pixbuf is None: log("unable to read %s", file) return None - p = gtk.Image() - p.set_from_pixbuf(pixbuf) + source = gtk.IconSource() + source.set_pixbuf(pixbuf) + source.set_size(gtk.ICON_SIZE_DIALOG) + source.set_size_wildcarded(gtk.FALSE) + iconset = gtk.IconSet() + iconset.add_source(source) + p = gtk.image_new_from_icon_set(iconset, gtk.ICON_SIZE_DIALOG) return p def readHTML (self, file): |