[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Patch to Konsole
From:       Michael Matz <matz () ifh ! de>
Date:       2001-01-15 1:46:48
[Download RAW message or body]

Hi,

On Mon, 15 Jan 2001, Malte Starostik wrote:
> > > Hmm, does this mean that all the konsoles [with multiple sessions] are
> > > going to request confirmation when closing KDE (session management) ?
> >
> >   Hmm... it turns out that way.
> >
> >   How is this handled in other applications? Can we detect if the close
> > command comes from the session manager?
> Not sure if KMainWindow::saveProperties(KConfig *) is called before 
> queryClose(). If it is, you could set a flag to not show the confirmation.

The difficulty then would be to reset the flag, if session managment
called saveProperties() in between (without a shutdown in queue), and the
user then simply closed the last KMW, the flag would still be set and
misinterpreted as a closed-by-SM indication.


Ciao,
Michael.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic