AUDIT: r17458 - gnucash/trunk/src/gnome - Bug #522095: Refresh the summary bar when new prices are downloaded.

Charles Day cedayiv at cvs.gnucash.org
Fri Aug 8 17:36:49 EDT 2008


Author: cedayiv
Date: 2008-08-08 17:36:48 -0400 (Fri, 08 Aug 2008)
New Revision: 17458
Trac: http://svn.gnucash.org/trac/changeset/17458

Modified:
   gnucash/trunk/src/gnome/dialog-price-edit-db.c
Log:
Bug #522095: Refresh the summary bar when new prices are downloaded.
BP


Modified: gnucash/trunk/src/gnome/dialog-price-edit-db.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-price-edit-db.c	2008-08-07 19:40:15 UTC (rev 17457)
+++ gnucash/trunk/src/gnome/dialog-price-edit-db.c	2008-08-08 21:36:48 UTC (rev 17458)
@@ -284,6 +284,11 @@
   gnc_set_busy_cursor (NULL, TRUE);
   scm_call_2 (quotes_func, scm_window, book_scm);
   gnc_unset_busy_cursor (NULL);
+
+  /* Without this, the summary bar on the accounts tab
+   * won't reflect the new prices (bug #522095). */
+  gnc_gui_refresh_all ();
+
   LEAVE(" ");
 }
 
@@ -458,6 +463,7 @@
 refresh_handler (GHashTable *changes, gpointer user_data)
 {
   ENTER(" ");
+  LEAVE(" ");
 }
 
 static gboolean



More information about the gnucash-changes mailing list