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

Re: PATCH: display mode instance in anaconda object



On Wed, 2007-03-07 at 11:34 -0500, Jeremy Katz wrote:
> On Tue, 2007-03-06 at 17:14 -0500, Elliot Peele wrote:
> > Add an instance variable to the anaconda object of displayMode so that
> > callbacks implemented in the backend can tell what the current
> > displayMode is.
> 
> What are you actually trying to key here?  Generally we've avoided
> making generic code know the displayMode and instead just send things
> through the install interface.

When trying to implement a generic install progress callback for the
conary backend I needed to pass set_text and set_label different
information based on what displayMode I was in.

Elliot

-- 
Elliot Peele
rPath, Inc.
elliot rpath com
919.851.3984 2117


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