[interfacekit] Re: Shutdown Process

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> On 2005-07-07 at 02:23:09 [+0200], Axel Dörfler wrote:
> > I think that's the wrong point to change. I would rather see 
> > "Shutdown"
> > open a window where you can choose if you really want to turn off 
> > the
> > computer.
[...]
> > Dunno if that should be part of the registrar, though.
> No, I think that should be the responsibility of the Deskbar. 
> Otherwise you 
> would get the same alert when invoking "shutdown" in the command line 
> -- 
> and I suppose you won't accidentially type this one. :-)

True, but it should probably also be triggered when you press the power 
button on your computer - maybe it's better placed in the Registrar, 
after all. In a multi-user system, the shutdown might need to be 
protected by a password check, anyway.
The BRoster::Private::Shutdown() method could have a bool parameter 
"confirm".

Bye,
   Axel.


Other related posts: