On Wed, 2011-02-02 at 13:30 -1000, David Cantrell wrote: > We no longer resize images from anywhere this function is used in > anaconda. Ack. > > Related: rhbz#663411 > --- > gui.py | 9 +-------- > 1 files changed, 1 insertions(+), 8 deletions(-) > > diff --git a/gui.py b/gui.py > index 5e96ed8..a08adf4 100755 > --- a/gui.py > +++ b/gui.py > @@ -351,19 +351,12 @@ def getPixbuf(file): > > return pixbuf > > -def readImageFromFile(file, width = None, height = None, dither = None, > - image = None): > +def readImageFromFile(file, dither = False, image = None): > pixbuf = getPixbuf(file) > if pixbuf is None: > log.warning("can't find pixmap %s" %(file,)) > return None > > - if (width is not None and height is not None > - and height != pixbuf.get_height() > - and width != pixbuf.get_width()): > - pixbuf = pixbuf.scale_simple(width, height, > - gtk.gdk.INTERP_BILINEAR) > - > if image is None: > p = gtk.Image() > else: _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list