Don't initialize the display at option parsing time. This way

--add-price-quotes can run from a cron job.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13191 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/register-rewrite
David Hampton 21 years ago
parent 45606b3bf0
commit d1a477d98e

@ -1,5 +1,9 @@
2006-02-09 David Hampton <hampton@employees.org>
* src/bin/gnucash-bin.c: Don't initialize the display at option
parsing time. This way --add-price-quotes can run from a cron
job.
* src/gnome-utils/glade/commodity.glade:
* src/gnome-utils/dialog-commodity.c:
* src/engine/gnc-commodity.c: Update for known F::Q 1.11 quote

@ -306,7 +306,7 @@ gnucash_command_line(int argc, char **argv)
context = g_option_context_new (" [datafile]");
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
g_option_context_add_group (context, gtk_get_option_group (TRUE));
g_option_context_add_group (context, gtk_get_option_group (FALSE));
g_option_context_parse (context, &argc, &argv, &error);
g_option_context_free (context);

Loading…
Cancel
Save