diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-03-07 21:36:41 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-03-07 21:36:41 +0000 |
commit | d13d763085c8d17139ceac218e29f2f95bf3260b (patch) | |
tree | 50e63ceff3d488a70c3a069d748fdc8692885b9f /textw/progress_text.py | |
parent | 57fd0980ffb9b85395d235dca6141c930cf46667 (diff) | |
download | anaconda-d13d763085c8d17139ceac218e29f2f95bf3260b.tar.gz anaconda-d13d763085c8d17139ceac218e29f2f95bf3260b.tar.xz anaconda-d13d763085c8d17139ceac218e29f2f95bf3260b.zip |
2007-03-07 Jeremy Katz <katzj@redhat.com>
* iw/progress_gui.py (InstallProgressWindow.setShowPercentage):
Add method to say that we should just show the percentage in the
progress bar like newt does. If this is set, ignore any calls to
set_text().
* textw/progress_text.py
(InstallProgressWindow.setShowPercentage): Placeholder method,
doesn't actually do anything for text mode given the way newt works.
* cmdline.py (progressDisplay.setShowPercentage): Add placeholder
here too.
Diffstat (limited to 'textw/progress_text.py')
-rw-r--r-- | textw/progress_text.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/textw/progress_text.py b/textw/progress_text.py index 007314203..f99ee9890 100644 --- a/textw/progress_text.py +++ b/textw/progress_text.py @@ -70,6 +70,9 @@ class InstallProgressWindow: self.grid.draw() self.screen.refresh() + def setShowPercentage(self, val): + pass + def get_fraction(self): return self.pct |