[master] cleanup: gui.py never uses runres for anything, off it goes.

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

 



---
 gui.py |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/gui.py b/gui.py
index bf7e37f..6023302 100755
--- a/gui.py
+++ b/gui.py
@@ -932,11 +932,6 @@ class InstallInterface(InstallInterfaceBase):
         self.icw = None
         self.installProgress = None
 
-        # figure out if we want to run interface at 800x600 or 640x480
-        if gtk.gdk.screen_width() >= 800:
-            self.runres = "800x600"
-        else:
-            self.runres = "640x480"
         root = gtk.gdk.get_default_root_window()
         cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)
         root.set_cursor(cursor)
@@ -1303,7 +1298,7 @@ class InstallInterface(InstallInterfaceBase):
             anaconda.keyboard.activate()
 
         self.icw = InstallControlWindow (self.anaconda)
-        self.icw.run (self.runres)
+        self.icw.run()
 
     def setSteps(self, anaconda):
         pass
@@ -1573,7 +1568,7 @@ class InstallControlWindow:
     def busyCursorPop(self):
         rootPopBusyCursor()
         
-    def run (self, runres):
+    def run (self):
         self.setup_theme()
         self.setup_window(False)
         gtk.main()
-- 
1.6.6

_______________________________________________
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