summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-02-19 11:31:52 -0500
committerChris Lumens <clumens@redhat.com>2010-03-04 11:16:00 -0500
commitae492597210b97a1fb7ca53b48c79214d9a25fe6 (patch)
treef9e4f7cffb18bf94f773c9374ab953486bd21df5
parenta610786b27076fc7c409a551f6f25759b512b669 (diff)
downloadanaconda-ae492597210b97a1fb7ca53b48c79214d9a25fe6.tar.gz
anaconda-ae492597210b97a1fb7ca53b48c79214d9a25fe6.tar.xz
anaconda-ae492597210b97a1fb7ca53b48c79214d9a25fe6.zip
Adapt to using report's UI API (#562656).
-rwxr-xr-xgui.py7
-rw-r--r--text.py6
2 files changed, 6 insertions, 7 deletions
diff --git a/gui.py b/gui.py
index 66738886a..7055e02ed 100755
--- a/gui.py
+++ b/gui.py
@@ -1088,11 +1088,10 @@ class InstallInterface(InstallInterfaceBase):
addFrame(win.dialog)
return win
- def saveExceptionWindow(self, longTextFile, desc="", *args, **kwargs):
+ def saveExceptionWindow(self, accountManager, signature):
from meh.ui.gui import SaveExceptionWindow
- win = SaveExceptionWindow (longTextFile, desc=desc, *args, **kwargs)
- addFrame(win.dialog)
- return win
+ win = SaveExceptionWindow (accountManager, signature)
+ win.run()
def exitWindow(self, title, text):
if self.icw:
diff --git a/text.py b/text.py
index 23bc4bb0d..38aebc217 100644
--- a/text.py
+++ b/text.py
@@ -402,11 +402,11 @@ class InstallInterface(InstallInterfaceBase):
exnWin = MainExceptionWindow(shortText, longTextFile, screen=self.screen)
return exnWin
- def saveExceptionWindow(self, longTextFile, desc="", *args, **kwargs):
+ def saveExceptionWindow(self, accountManager, signature, *args, **kwargs):
from meh.ui.text import SaveExceptionWindow
- win = SaveExceptionWindow (longTextFile, desc=desc, screen=self.screen,
+ win = SaveExceptionWindow (accountManager, signature, screen=self.screen,
*args, **kwargs)
- return win
+ win.run()
def waitWindow(self, title, text):
return WaitWindow(self.screen, title, text)