On Thu, 2012-08-02 at 11:22 -0400, Chris Lumens wrote:
> python-meh has its own methods, but we have our own exception
handling code
> (inherited from the python-meh's one) that needs access to both python-meh
> UI and anaconda UI. Hence anaconda's UIs need a mainExceptionWindow and
> saveExceptionWindow methods calling the python-meh's ones (GUI or TUI).
How does the mainExceptionWindow method on anaconda's
GraphicalUserInterface end up getting called?
We pass anaconda.intf to the
AnacondaExceptionHandler (at the end of
pyanaconda/exception.py), so that exception handling does not have to
determine whether we are using graphical or text interface. Moreover we
use showErrorMsg method in case of HW error.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic