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

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



ACK!

On 05/25/2010 04:35 PM, Ales Kozumplik wrote:
---
  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()


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