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

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



> 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


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