Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 14.03.2008 um 23:13 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Am 14.03.2008 um 19:50 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Here is another try, following your proposal. Sorry Stefan, I won't have the time to review it for the next two wee

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Stefan Schimanski
Am 14.03.2008 um 23:13 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Am 14.03.2008 um 19:50 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Here is another try, following your proposal. Sorry Stefan, I won't have the time to review it for the next two weeks (going on well deserve

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 14.03.2008 um 19:50 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Here is another try, following your proposal. Sorry Stefan, I won't have the time to review it for the next two weeks (going on well deserved vacations). But I trust your code anyway so I gue

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Stefan Schimanski
Am 14.03.2008 um 19:50 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Here is another try, following your proposal. Sorry Stefan, I won't have the time to review it for the next two weeks (going on well deserved vacations). But I trust your code anyway so I guess it should be OK. Cros

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Abdelrazak Younes
Stefan Schimanski wrote: Here is another try, following your proposal. Sorry Stefan, I won't have the time to review it for the next two weeks (going on well deserved vacations). But I trust your code anyway so I guess it should be OK. Cross-checking with Andre' might be a good thing too ;-).

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Stefan Schimanski
Here is another try, following your proposal. Stefan 0001-preference-option-to-open-buffers-in-tabs-or-new-w.patch Description: Binary data 0002-on-Mac-close-GuiView-when-the-last-tab-was-closed.patch Description: Binary data 0003-create-global-menubar-on-Mac-without-a-parent.-It.patch Des

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Stefan Schimanski
- on Mac, there is one unique toolbar so, when the last GuiView is closed, the global toolbar should be hidden. This means that we should keep trace of the global menubar pointer when created. What do you mean here? Stefan

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-14 Thread Stefan Schimanski
So I reimplemented everything like you proposed. But I cannot get the shortcuts to work. They are handled usually by the GuiView::event(..) handler. If there is no GuiView around, this does not work. There are some kind of low level event filter in QApplication, but I am not sure that's rig

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-13 Thread Stefan Schimanski
Am 13.03.2008 um 10:25 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Am 13.03.2008 um 08:36 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) That's fine. 2) which keep LyX running, even af

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-13 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 13.03.2008 um 08:36 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) That's fine. 2) which keep LyX running, even after closing the last window on Mac Not fine, see

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-13 Thread Stefan Schimanski
Am 13.03.2008 um 08:36 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) That's fine. 2) which keep LyX running, even after closing the last window on Mac Not fine, see below. 3) which close a

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-13 Thread Jean-Marc Lasgouttes
Stefan Schimanski <[EMAIL PROTECTED]> writes: > Here is a series of patches > > 1) which add an open-in-window mode (enabled on Mac by default) Please do not use an #ifdef to set this default. This should be simply set in the mac's lyxrc.dist. JMarc

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-13 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Stefan Schimanski wrote: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) That's fine. 2) which keep LyX running, even after closing the last window on Mac Not fine, see below. 3) which close a window when the last tab

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-13 Thread Abdelrazak Younes
Stefan Schimanski wrote: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) That's fine. 2) which keep LyX running, even after closing the last window on Mac Not fine, see below. 3) which close a window when the last tab is closed on Mac That sh

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-12 Thread Bennett Helm
On Mar 12, 2008, at 5:52 PM, Stefan Schimanski wrote: Am 12.03.2008 um 22:49 schrieb Andre Poenitz: On Wed, Mar 12, 2008 at 10:40:07PM +0100, Stefan Schimanski wrote: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) 2) which keep LyX running, even a

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-12 Thread Stefan Schimanski
Am 12.03.2008 um 22:49 schrieb Andre Poenitz: On Wed, Mar 12, 2008 at 10:40:07PM +0100, Stefan Schimanski wrote: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) 2) which keep LyX running, even after closing the last window on Mac 3) which close a wi

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-12 Thread Andre Poenitz
On Wed, Mar 12, 2008 at 10:40:07PM +0100, Stefan Schimanski wrote: > Here is a series of patches > > 1) which add an open-in-window mode (enabled on Mac by default) > 2) which keep LyX running, even after closing the last window on Mac > 3) which close a window when the last tab is closed on Mac >

Re: Open in tabs/windows + keep lyx running without windows - patch

2008-03-12 Thread Stefan Schimanski
Am 12.03.2008 um 22:40 schrieb Stefan Schimanski: Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) 2) which keep LyX running, even after closing the last window on Mac 3) which close a window when the last tab is closed on Mac 3) which add a preferenc

Open in tabs/windows + keep lyx running without windows - patch

2008-03-12 Thread Stefan Schimanski
Here is a series of patches 1) which add an open-in-window mode (enabled on Mac by default) 2) which keep LyX running, even after closing the last window on Mac 3) which close a window when the last tab is closed on Mac 3) which add a preference option to change (1) For (2) I keep the GuiView wi