[PATCH 1/4] Do not scale image on welcome screen.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The image looks strange if we let anaconda run full screen and have
this code in place.

Related: rhbz#663411
---
 iw/welcome_gui.py |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/iw/welcome_gui.py b/iw/welcome_gui.py
index d2e6fc5..03ca194 100644
--- a/iw/welcome_gui.py
+++ b/iw/welcome_gui.py
@@ -38,15 +38,7 @@ class WelcomeWindow (InstallWindow):
     # WelcomeWindow tag="wel"
     def getScreen (self, anaconda):
         self.anaconda = anaconda
-        # this is a bit ugly... but scale the image if we're not at 800x600
-        (w, h) = self.ics.cw.window.get_size_request()
-        if w >= 800:
-            height = None
-            width = None
-        else:
-            width = 500
-            height = 258
-        pix = gui.readImageFromFile("splash.png", width, height, dither=False)
+        pix = gui.readImageFromFile("splash.png")
         box = gtk.EventBox ()
         box.add (pix)
         return box
-- 
1.7.3.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux