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

[PATCH 1/3] Adapt to using report's UI API (#562656).



---
 gui.py  |    7 +++----
 text.py |    6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/gui.py b/gui.py
index 6673888..7055e02 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 898bc26..e841c70 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)
-- 
1.6.5.1


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