After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628734 - Get Quotes at Startup Option
Get Quotes at Startup Option
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: General
git-master
Other All
: Normal enhancement
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2010-09-03 20:06 UTC by David
Modified: 2018-06-29 22:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David 2010-09-03 20:06:51 UTC
I would like to request that an option check box be added to allow for online price quote retrieval on start up. 

Hacking from preferences.glade in my version of 2.2.9:

  <child>
    <widget class="GtkCheckButton" id="gconf/dialogs/get_online_price_quotes_on_startup">
		  <property name="visible">True</property>
		  <property name="tooltip" translatable="yes">Retrieve online price quotes on startup</property>
		  <property name="can_focus">True</property>
		  <property name="label" translatable="yes">Retrieve online price quotes on startup</property>
		  <property name="use_underline">True</property>
		  <property name="relief">GTK_RELIEF_NORMAL</property>
		  <property name="focus_on_click">True</property>
		  <property name="active">False</property>
		  <property name="inconsistent">False</property>
		  <property name="draw_indicator">True</property>
		</widget>
		<packing>
		  <property name="left_attach">0</property>
		  <property name="right_attach">4</property>
		  <property name="top_attach">5</property>
		  <property name="bottom_attach">4</property>
		  <property name="x_padding">12</property>
		  <property name="x_options">fill</property>
		  <property name="y_options"></property>
		</packing>
	      </child>

This option check box would be used to trigger whatever code it is that retrieves online price quotes after the active file has loaded.
Comment 1 Frank H. Ellenberger 2010-09-09 02:41:47 UTC
Nice idea.

A short workaround would be the following shell script:

#!\bin\sh
gnucash --add-price-quotes=<myfile>
gnucash

You could also have a cron entry with gnucash --add-price-quotes=...
Sorry, I do not know the MacOS equivalents.

Probably other users would prefer to retrive more the recent quotes at the end of the session or both, depending on the volatility of their markets. The a checkboxgroup (at the begin; at the end of the session) or a dropdownlist(never, at begin, at end, both) would be appropriate.
Comment 2 John Ralls 2018-06-29 22:44:04 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=628734. Please continue processing the bug there and please update any external references or bookmarks.