[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUI integration
From: |
John W. Eaton |
Subject: |
Re: GUI integration |
Date: |
Sun, 12 Aug 2012 10:03:17 -0400 |
On 12-Aug-2012, Mike Miller wrote:
| On Sun, Aug 12, 2012 at 10:38:29AM +0200, Jacob Dawid wrote:
| > Confirmed, the following quick and dirty change gets rid of the
| > > segfault for me. I get the "Welcome to Octave!" dialog again, however
| > > it's still stuck in an endless loop, is this supposed to be working
| > > yet?
| > >
| >
| > It can't find the config file. I will have to fix it, but for a quick
| > solution copy the file "default-settings" to ~/.config/octave-gui/ and
| > rename it to "settings".
|
| I know, I just wasn't sure if jwe's changes had addressed that yet.
|
| The path to the file is now gui/default-qt-settings and the destination
| path is ~/.config/octave/qt-settings.
Also, the location of the default-qt-settings file can be specified
by an environment variable and the run-octave script uses that to find
the default file in the source tree.
| Attached is a cleaned up version of the above that initializes
| resource_manager using the Octave singleton pattern. This gets rid of
| the segfault for me. Look good?
It's better than before, yes, so please check it in.
I'd prefer to be using static methods and writing
resource_manager::reload_settings ();
instead of
resource_manager::instance()->reload_settings ();
but I can make that change later. At least with your change we should
avoid the crash that is due to order of static initialization issues.
Thanks,
jwe
- Re: GUI integration, (continued)
- Re: GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, Jacob Dawid, 2012/08/11
- Re: GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, Mike Miller, 2012/08/11
- Re: GUI integration, John W. Eaton, 2012/08/11
- Re: GUI integration, Mike Miller, 2012/08/11
- Re: GUI integration, Mike Miller, 2012/08/11
- Re: GUI integration, Jacob Dawid, 2012/08/12
- Re: GUI integration, Mike Miller, 2012/08/12
- Re: GUI integration,
John W. Eaton <=
- Re: GUI integration, Mike Miller, 2012/08/12