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

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



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


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