From 968730a00e11388ba3d25dc6270cdf609caa3d3b Mon Sep 17 00:00:00 2001 From: David Hampton Date: Mon, 14 Nov 2005 23:43:50 +0000 Subject: [PATCH] Bump deleted item removal to a higher priority. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11937 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 14 ++++++++++++++ src/gnome-utils/gnc-tree-model-commodity.c | 3 ++- src/gnome-utils/gnc-tree-model-price.c | 3 ++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cc525a72f3..af89a1fe36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2005-11-14 David Hampton + + * 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 * po/glossary/gnc-glossary.txt: Add explanations to new strings in diff --git a/src/gnome-utils/gnc-tree-model-commodity.c b/src/gnome-utils/gnc-tree-model-commodity.c index 853a16fd9b..eb2e1fd139 100644 --- a/src/gnome-utils/gnc-tree-model-commodity.c +++ b/src/gnome-utils/gnc-tree-model-commodity.c @@ -1202,7 +1202,8 @@ gnc_tree_model_commodity_event_handler (GUID *entity, QofIdType type, 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; diff --git a/src/gnome-utils/gnc-tree-model-price.c b/src/gnome-utils/gnc-tree-model-price.c index fb51d6a5b1..06b3a08bca 100644 --- a/src/gnome-utils/gnc-tree-model-price.c +++ b/src/gnome-utils/gnc-tree-model-price.c @@ -1547,7 +1547,8 @@ gnc_tree_model_price_event_handler (GUID *entity, QofIdType type, 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;