diff options
author | Martin Sivak <msivak@redhat.com> | 2012-08-06 13:43:32 +0200 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2012-08-06 13:43:32 +0200 |
commit | a518f8919488710842dc50d6e28f1d9bea5a186d (patch) | |
tree | ef1d8e64aef6cf133d4f92177eea3ed6644b49f1 /pyanaconda/ui/__init__.py | |
parent | 72c797294e5d70a221cab91d3d97ce805ad4b851 (diff) | |
parent | 86dd8ff76ba9a6fd10a7325df2c0691339d7fb76 (diff) | |
download | anaconda-a518f8919488710842dc50d6e28f1d9bea5a186d.tar.gz anaconda-a518f8919488710842dc50d6e28f1d9bea5a186d.tar.xz anaconda-a518f8919488710842dc50d6e28f1d9bea5a186d.zip |
Merge master into newtui
Diffstat (limited to 'pyanaconda/ui/__init__.py')
-rw-r--r-- | pyanaconda/ui/__init__.py | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/pyanaconda/ui/__init__.py b/pyanaconda/ui/__init__.py index 91252c1b5..7e9e31b27 100644 --- a/pyanaconda/ui/__init__.py +++ b/pyanaconda/ui/__init__.py @@ -76,9 +76,9 @@ class UserInterface(object): ### MESSAGE HANDLING METHODS ### def showError(self, message): - """Display an error dialog with the given message. After this dialog - is displayed, anaconda will quit. There is no return value. This - method must be implemented by all UserInterface subclasses. + """Display an error dialog with the given message. There is no return + value. This method must be implemented by all UserInterface + subclasses. In the code, this method should be used sparingly and only for critical errors that anaconda cannot figure out how to recover from. @@ -111,3 +111,16 @@ class UserInterface(object): key=lambda obj: obj.priority)) return actionClasses + + def mainExceptionWindow(self, text, exn_file): + """Return window with the exception and buttons for debugging, bug + reporting and exitting the installer. + + This method will be called only when unhandled exception appears. + """ + raise NotImplementedError + + def saveExceptionWindow(self, account_manager, signature): + """Show a window that provides a way to report a bug.""" + raise NotImplementedError + |