[PATCH 1/2] Just run the IsoChooser dialog lightbox

Vratislav Podzimek vpodzime at redhat.com
Tue Dec 17 08:04:34 UTC 2013


On Mon, 2013-12-16 at 10:27 -0800, Brian C. Lane wrote:
> On Mon, Dec 16, 2013 at 06:19:03PM +0100, Vratislav Podzimek wrote:
> > There is no need to use lightbox for pre and post-processing.
> > 
> > Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> > ---
> >  pyanaconda/ui/gui/spokes/source.py | 24 ++++++++++++------------
> >  1 file changed, 12 insertions(+), 12 deletions(-)
> > 
> > diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
> > index 94b45ca..9e05a2c 100644
> > --- a/pyanaconda/ui/gui/spokes/source.py
> > +++ b/pyanaconda/ui/gui/spokes/source.py
> > @@ -812,21 +812,21 @@ class SourceSpoke(NormalSpoke):
> >      def on_chooser_clicked(self, button):
> >          dialog = IsoChooser(self.data)
> >  
> > -        with enlightbox(self.window, dialog.window):
> > -            # If the chooser has been run one before, we should make it default to
> > -            # the previously selected file.
> > -            if self._currentIsoFile:
> > -                dialog.refresh(currentFile=self._currentIsoFile)
> > -            else:
> > -                dialog.refresh()
> > +        # If the chooser has been run one before, we should make it default to
> 
> one should be once.
Good catch! Fixing locally.

-- 
Vratislav Podzimek

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



More information about the anaconda-patches mailing list