If the timeout is reached, the dialog is closed as if the user clicked on save.
The timeout period can be set via the preferences dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23312 57a11ea4-9604-0410-9ed3-97b8803252fd
This code was unintentionally disabled in the preferences refactoring process
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23308 57a11ea4-9604-0410-9ed3-97b8803252fd
That file is a built source. It is already removed by the maintainer-clean
rule.
Author: Sébastien Villemot <sebastien@debian.org>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23302 57a11ea4-9604-0410-9ed3-97b8803252fd
* Totals column moves to right hand side when periods are added
* Remove unneeded gnc_plugin_page_budget_refresh_cb
Design: in gnc_budget_view_refresh, detect the condition when periods
are added. If this is true, delete the totals column. It will be
regenerated at the end of the refresh function.
Author: R Ratliff <ratliff.bobby@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23301 57a11ea4-9604-0410-9ed3-97b8803252fd
* In budget flow report options, change the maximum value
for period to 60 (Note the FIXMEs)
Author: Robert Ratliff <ratliff.bobby@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23300 57a11ea4-9604-0410-9ed3-97b8803252fd
Redirect all messages to trace file (or wherever logs are configured to go)
Reduce default output by playing with the log levels
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23295 57a11ea4-9604-0410-9ed3-97b8803252fd
It contained a bug that would set two radiobuttons active in one
radiogroup. This was only really visible in the backend, but
resulted in the wrong option to be highlighted (for example
autoledger register style instead of ledger)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23292 57a11ea4-9604-0410-9ed3-97b8803252fd
- check if all parents of .gconf/apps/gnucash exist before attempting migration
- wrap guile parts in catch/throw handlers to prevent GnuCash from crashing
if something goes wrong during the prefereces migration
- add more sanity checks and debugging information
- set flag after first successful migration to prevent future runs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23291 57a11ea4-9604-0410-9ed3-97b8803252fd
With GConf gone, gnucash can launch the same way on MacOSX as it does everywhere else.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23290 57a11ea4-9604-0410-9ed3-97b8803252fd
Clang emits full function signatures for __func__ where GCC emits
only the function name.
Adjust Gnucash's own error messages emitted via PWARN and friends
to trim the extra bits so that only the function name is emitted
regardless of compiler. For messages emitted directly by glib
(usually from g_return_if_fail macros), the message in the test
case is special-cased for Clang so that it matches and the test
passes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23289 57a11ea4-9604-0410-9ed3-97b8803252fd
There seem to be issues with the schema installation that can cause gnucash to crash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23282 57a11ea4-9604-0410-9ed3-97b8803252fd
At the same time skip migration if the required xml and xsl files aren't found
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23275 57a11ea4-9604-0410-9ed3-97b8803252fd
- drop installation of files in libexec (we don't ship any anymore)
- make sure gsettings schema files get installed
- drop ORBit2; this was a requirement for GConf only
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23270 57a11ea4-9604-0410-9ed3-97b8803252fd
WARNING: the saved settings in gconf are not (yet) migrated to gsettings !
running gnucash as of this commit will start you with default values
for all preferences !
You can of course change your preferences, your changes will be saved
properly in gsettings and restored when you restart gnucash. But what
has been set in GConf before will basically be ignored.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23267 57a11ea4-9604-0410-9ed3-97b8803252fd
Syntax changes in short:
1. replace all _ with - in preference keys and groups (_ is not allowed)
2. base path should be /org/gnucash instead of /apps/gnucash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23266 57a11ea4-9604-0410-9ed3-97b8803252fd
This is similar to what the previous commit did for GncTreeView
and means column widths, column's visibility and register sort order
are currently no longer saved or restored for any register.
This is done because the state code relies heavily on gconf
and unfortunately can't be mapped to gsettings in its present
form. State save/restore will be added again later, once
the gconf conversion is complete.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23262 57a11ea4-9604-0410-9ed3-97b8803252fd
This means column widths, column's visibility and view sort order
are currently no longer saved or restored for any view based on
GncTreeView.
This is done because the state code relies heavily on gconf
and unfortunately can't be mapped to gsettings in its present
form.
State save/restore will be added again later, but likely only
after the gconf conversion is complete.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23261 57a11ea4-9604-0410-9ed3-97b8803252fd
This is a little more involved that a simple
find/replace of gconf->gsettings functions.
Gsettings doesn't allow introspection on the schema
like gconf does. So we need another way to extract
the warnings' summaries and long descriptions to
show the user. To fix this, a new set of source
files is auto-generated based on the gsettings schema
source file for the warnings: gnc-warnings.[ch]
gnc-warnings.c: contains an array of warning
description structs and the implementation of
an accessor function. The array is to be assumed
read only
gnc-warnings.h: defines each warning using #define
and exposes the accessor function to the rest of the
source tree.
The two source files are constructed using an xsl
transformation on the gsettings schema source file.
This is done using the tool xsltproc, which should
already be available on each platform GnuCash supports
because it gets installed together with libxml2,
which is already a required dependency for GnuCash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23260 57a11ea4-9604-0410-9ed3-97b8803252fd
This reduces the cruft a bit, making it easier
to see what's still to be migrated
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23259 57a11ea4-9604-0410-9ed3-97b8803252fd
The only exception is gnc-split-reg2, which has it's own implementation
of sort parameters (also linked to gconf unfortunately).
Tree views store column visibility and sort preferences in gconf. This is
actually state information and should be kept in the gnucash state file
(*.gcm in .gnucash/books). It will definitely not be ported to gsettings,
simply because gsettings can't handle floating sections (sections not
strictly tied to schema).
So in the process, where it makes sense the word gconf is already
replaced with "state". That helps with cleaning up the remaining gconf
code in gnucash, and indicates these parts need to be reworked to
use the state file as backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23258 57a11ea4-9604-0410-9ed3-97b8803252fd