FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-25-2010, 02:35 PM
Ales Kozumplik
 
Default cleanup: gui.py never uses runres for anything, off it goes.

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org