summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-18 00:02:46 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 14:07:29 -0500
commit9f1ed81c9ed2e7cb40b746dfaf2bd8107e492aaa (patch)
tree3b3a7985dba4d1b4d785adff0aa3559355bc9b39 /gui.py
parentd2fbd3be94d015fd3133d32c69137b10fd7d7e8f (diff)
downloadanaconda-9f1ed81c9ed2e7cb40b746dfaf2bd8107e492aaa.tar.gz
anaconda-9f1ed81c9ed2e7cb40b746dfaf2bd8107e492aaa.tar.xz
anaconda-9f1ed81c9ed2e7cb40b746dfaf2bd8107e492aaa.zip
Move instProgress to be an attribute on the InstallInterface.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index d50babfcc..afb04db7b 100755
--- a/gui.py
+++ b/gui.py
@@ -977,6 +977,7 @@ class EntryWindow(MessageWindow):
class InstallInterface:
def __init__ (self):
self.icw = None
+ self.installProgress = None
# figure out if we want to run interface at 800x600 or 640x480
if gtk.gdk.screen_width() >= 800:
@@ -1011,6 +1012,9 @@ class InstallInterface:
return ret not in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]
+ def setInstallProgressClass(self, c):
+ self.instProgress = c
+
def setPackageProgressWindow (self, ppw):
self.ppw = ppw