[rfc] ConsoleKit enhancements

David Zeuthen david at fubar.dk
Mon Feb 12 08:57:28 PST 2007


On Mon, 2007-02-12 at 10:50 +0000, Richard Hughes wrote:
> On Fri, 2007-02-09 at 19:35 -0500, David Zeuthen wrote:
> >    signal ActiveChanging (bool is_being_activated,
> >                           bool finished_suspending, 
> >                           string cookie2)
> 
> Why not just have different signals?

That's probably a better idea, yea.

> String type for a cookie? In bot g-p-m and g-s we use a random uint32.

Oh, I'm fine with either.

> >  - g-p-m can use this to a) save state (e.g. LCD brightness); and b)
> >    restore it again without having several instances racing for it
> 
> Sounds good. I'll start adding ConsoleKit support into g-p-m when I
> branch for 2.19.

Cool. We're putting this in Fedora 7 though which will use 2.18 but, eh,
we'll see; perhaps I can backport stuff.

> > I really think we need something like this. Perhaps my API above isn't
> > perfect; I welcome comments :-) - Thoughts?
> 
> Generally good. I really want to get 0.5.9 out of the door before we
> work too much on new stuff. :-)

Yea, so do I. So do I.

     David




More information about the hal mailing list