Re: [PATCH 1/1] The lambda function in run() is not needed.

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

 



> I'm afraid this is not going to work, as partedExceptionWindow
> needs anaconda as argument and parted won't pass that in, that
> was the whole purpose of the lamda (afaik)

Yeah that's the whole point of the lambda, though it turns out to only
be necessary in the gui install interface.  partedExceptionWindow is a
standalone function there and so needs the anaconda argument.  It
appears to be the one dialog that doesn't have a standalone class and
also a method in InstallInterface to create one.

In the text interface, partedExceptionWindow is part of the
InstallInterface class so we don't need the anaconda argument and Joel's
patch will work.

Don't you love consistency?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux