r20630 - gnucash/trunk/src/business/business-gnome - Disable delete owner feature for now, it causes a crash
Geert Janssens
gjanssens at code.gnucash.org
Wed May 11 17:52:39 EDT 2011
Author: gjanssens
Date: 2011-05-11 17:52:39 -0400 (Wed, 11 May 2011)
New Revision: 20630
Trac: http://svn.gnucash.org/trac/changeset/20630
Modified:
gnucash/trunk/src/business/business-gnome/gnc-plugin-page-owner-tree.c
Log:
Disable delete owner feature for now, it causes a crash
Modified: gnucash/trunk/src/business/business-gnome/gnc-plugin-page-owner-tree.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/gnc-plugin-page-owner-tree.c 2011-05-11 21:52:30 UTC (rev 20629)
+++ gnucash/trunk/src/business/business-gnome/gnc-plugin-page-owner-tree.c 2011-05-11 21:52:39 UTC (rev 20630)
@@ -141,11 +141,11 @@
N_("Edit the selected owner"),
G_CALLBACK (gnc_plugin_page_owner_tree_cmd_edit_owner)
},
- {
+/* FIXME disabled due to crash {
"EditDeleteOwnerAction", GNC_STOCK_DELETE_ACCOUNT, N_("_Delete Owner..."), "Delete",
N_("Delete selected owner"),
G_CALLBACK (gnc_plugin_page_owner_tree_cmd_delete_owner)
- },
+ }, */
/* View menu */
{
@@ -162,7 +162,7 @@
static const gchar *actions_requiring_owner[] =
{
"EditEditOwnerAction",
- "EditDeleteOwnerAction",
+/* FIXME disabled due to crash "EditDeleteOwnerAction", */
NULL
};
@@ -172,7 +172,7 @@
{
{ "EditEditOwnerAction", N_("Edit") },
{ "BusinessNewOwnerAction", N_("New") },
- { "EditDeleteOwnerAction", N_("Delete") },
+/* FIXME disable due to crash { "EditDeleteOwnerAction", N_("Delete") },*/
{ NULL, NULL },
};
@@ -791,6 +791,8 @@
if (GTK_RESPONSE_ACCEPT == response)
{
+ /* FIXME The code below results in a crash.
+ * The corresponding menu item/toolbar button is disabled until this is fixed. */
gnc_set_busy_cursor(NULL, TRUE);
gnc_suspend_gui_refresh ();
gncOwnerBeginEdit (owner);
More information about the gnucash-changes
mailing list