Also remove now unused guile portion of --add-price-quote option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12947 57a11ea4-9604-0410-9ed3-97b8803252fd
This is done by booting guile with a custom inner_main.
Much of the work is still handled by price-quotes.scm, which
is now a true stand-alone guile module without the circular dependency
on the (gnucash main) module.
One caveat: Since the initialization of guile-side debugging variables
is in main.scm, and since main.scm is no longer executed when running
--add-price-quotes, the guile code that runs during --add-price-quote
isn't affected by the --debug option. A work-around is to use the
GNC_DEBUG environment variable:
$ GNC_DEBUG=yes gnucash --add-price-quote myfile
In the longer term, we'll either move the debugging aids to a common place
where it can be used by both main.scm and price-quotes.scm, or we'll get
the debugging state from the C-side via gwrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12946 57a11ea4-9604-0410-9ed3-97b8803252fd
This is now handled by Gnome's gnome_program_locate_file() function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12943 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/app-utils/prefs.scm: replace an API needed by old scheme
config files. It was removed in r11565. Replace it now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12926 57a11ea4-9604-0410-9ed3-97b8803252fd
Granted, this has no effect because the splash screen isn't
/UP/ when we're loading the modules. But still, once we
initialize the gnome application earlier this will let us
update the splash screen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12925 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/bin/gnucash-bin.c: Load config.auto AND config.user files.
Load the .user file first, and then load the .auto.
* src/scm/Makefile.am: paths.scm was removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12913 57a11ea4-9604-0410-9ed3-97b8803252fd
Also one bit of uncommitted code from gwrap change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12912 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove the "load config" command line options, since they weren't doing
anything different than the default.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12909 57a11ea4-9604-0410-9ed3-97b8803252fd
Fixes a crash trying to reload a file with empty windows.
(there's still another bug which is that we should ignore empty windows)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12903 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-gnome/dialog-invoice.c:
need to #include gkeyfile.h for glib24 systems
* src/business/business-gnome/Makefile.am:
link against glib26 compatibility library.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12896 57a11ea4-9604-0410-9ed3-97b8803252fd
when trying to open a different data file is there is an invoice page
in the window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12884 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/bin/gnucash-bin.c:
* src/gnome-utils/gnc-splash.c:
Always print the SVN version and build date.
Make "development version" based on GNUCASH_SVN
* src/gnome-utils/Makefile.am:
Define GNUCASH_SVN whenever the source is not a dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12880 57a11ea4-9604-0410-9ed3-97b8803252fd