[Gnucash-changes] r11937 - gnucash/trunk - Bump deleted item removal to a higher priority.

David Hampton hampton at cvs.gnucash.org
Mon Nov 14 18:43:51 EST 2005


Author: hampton
Date: 2005-11-14 18:43:50 -0500 (Mon, 14 Nov 2005)
New Revision: 11937
Trac: http://svn.gnucash.org/trac/changeset/11937

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/gnc-tree-model-commodity.c
   gnucash/trunk/src/gnome-utils/gnc-tree-model-price.c
Log:
Bump deleted item removal to a higher priority.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-14 23:43:13 UTC (rev 11936)
+++ gnucash/trunk/ChangeLog	2005-11-14 23:43:50 UTC (rev 11937)
@@ -1,3 +1,17 @@
+2005-11-14  David Hampton  <hampton at employees.org>
+
+	* src/gnome-utils/gnc-tree-model-commodity.c:
+	* src/gnome-utils/gnc-tree-model-price.c: Bump deleted item
+	removal to a higher priority.
+
+	* src/gnome-utils/gnc-tree-model-account.c: Correctly update the
+	tree model when an account is moved. Fixes #313782.
+
+	* src/gnome-utils/gnc-date-edit.c:
+	* src/gnome/window-reconcile.c:
+	* src/gnome/dialog-scheduledxaction.c: Replace deprecated
+	gtk_window_set_policy() function with gtk_window_set_resizable().
+
 2005-11-14  Christian Stimming  <stimming at tuhh.de>
 
 	* po/glossary/gnc-glossary.txt: Add explanations to new strings in

Modified: gnucash/trunk/src/gnome-utils/gnc-tree-model-commodity.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-model-commodity.c	2005-11-14 23:43:13 UTC (rev 11936)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-model-commodity.c	2005-11-14 23:43:50 UTC (rev 11937)
@@ -1202,7 +1202,8 @@
 	  data->model = model;
 	  data->path = path;
 	  pending_removals = g_slist_append (pending_removals, data);
-	  g_idle_add (gnc_tree_model_commodity_do_deletions, NULL);
+	  g_idle_add_full(G_PRIORITY_HIGH_IDLE,
+			  gnc_tree_model_commodity_do_deletions, NULL, NULL);
 	  LEAVE(" ");
 	  return;
 

Modified: gnucash/trunk/src/gnome-utils/gnc-tree-model-price.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-tree-model-price.c	2005-11-14 23:43:13 UTC (rev 11936)
+++ gnucash/trunk/src/gnome-utils/gnc-tree-model-price.c	2005-11-14 23:43:50 UTC (rev 11937)
@@ -1547,7 +1547,8 @@
 	  data->model = model;
 	  data->path = path;
 	  pending_removals = g_slist_append (pending_removals, data);
-	  g_idle_add (gnc_tree_model_price_do_deletions, NULL);
+	  g_idle_add_full(G_PRIORITY_HIGH_IDLE,
+			  gnc_tree_model_price_do_deletions, NULL, NULL);
 	  LEAVE(" ");
 	  return;
 



More information about the gnucash-changes mailing list