r17521 - gnucash/branches/2.2/src/gnome - [r17458] Bug #522095: Refresh the summary bar when new prices are downloaded.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Sep 14 17:31:02 EDT 2008


Author: andi5
Date: 2008-09-14 17:31:02 -0400 (Sun, 14 Sep 2008)
New Revision: 17521
Trac: http://svn.gnucash.org/trac/changeset/17521

Modified:
   gnucash/branches/2.2/src/gnome/dialog-price-edit-db.c
Log:
[r17458] Bug #522095: Refresh the summary bar when new prices are downloaded.

Committed by cedayiv.

Modified: gnucash/branches/2.2/src/gnome/dialog-price-edit-db.c
===================================================================
--- gnucash/branches/2.2/src/gnome/dialog-price-edit-db.c	2008-09-14 21:30:54 UTC (rev 17520)
+++ gnucash/branches/2.2/src/gnome/dialog-price-edit-db.c	2008-09-14 21:31:02 UTC (rev 17521)
@@ -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(" ");
 }
 
@@ -438,6 +443,7 @@
 refresh_handler (GHashTable *changes, gpointer user_data)
 {
   ENTER(" ");
+  LEAVE(" ");
 }
 
 static gboolean



More information about the gnucash-changes mailing list