Re: [Patch] Fix some LFUN_WINDOW_CLOSE bugs.

2006-10-25 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Tue, 24 Oct 2006, Abdelrazak Younes wrote: (For some reason, while reading the above I assumed that LFUN_WINDOW_CLOSE would invoke LYX_QUIT if it was the last window. That's right. Ok, I'll just modify it slightly. This hould be fine: The function 'windo

Re: [Patch] Fix some LFUN_WINDOW_CLOSE bugs.

2006-10-24 Thread christian . ridderstrom
On Tue, 24 Oct 2006, Abdelrazak Younes wrote: > > (For some reason, while reading the above I assumed that LFUN_WINDOW_CLOSE > > would invoke LYX_QUIT if it was the last window. > > That's right. Ok, I'll just modify it slightly. This hould be fine: The function 'window-close' closes t

Re: [Patch] Fix some LFUN_WINDOW_CLOSE bugs.

2006-10-24 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Tue, 24 Oct 2006, Abdelrazak Younes wrote: Hello, This patch sanitize the different way to exit from lyx: 1) exit request with a direct call to LFUN_WINDOW_CLOSE: user menu. 2) automatic exit when the last window is closed. Does this change the description in an

Re: [Patch] Fix some LFUN_WINDOW_CLOSE bugs.

2006-10-24 Thread christian . ridderstrom
On Tue, 24 Oct 2006, Abdelrazak Younes wrote: > Hello, > > This patch sanitize the different way to exit from lyx: > > 1) exit request with a direct call to LFUN_WINDOW_CLOSE: user menu. > > 2) automatic exit when the last window is closed. Does this change the description in any way? (For som

[Patch] Fix some LFUN_WINDOW_CLOSE bugs.

2006-10-24 Thread Abdelrazak Younes
Hello, This patch sanitize the different way to exit from lyx: 1) exit request with a direct call to LFUN_WINDOW_CLOSE: user menu. 2) automatic exit when the last window is closed. I needed some more small changes to the LFUN in order to make this work properly for all tested use cases. Bo,