[PATCH 1/2] Add mainExceptionWindow and saveExceptionWindow methods to the interfaces

Vratislav Podzimek vpodzime at redhat.com
Fri Aug 3 12:23:33 UTC 2012


On Thu, 2012-08-02 at 14:18 -0400, Chris Lumens wrote:
> > > 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.
> 
> Oh right, I remember this now.
> 
> I give it a cautious ACK, only because I want to keep the number of
> dialogs on the UserInterface classes down to a minimum.  So hopefully we
> won't need to add too many more.
I am thinking about a possibly better way to implement this. I will work
on that and send a patch, but for now, I'm pushing this one to make
exception handling running.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list