From a0d287f250a0971fca1ca1475db7eba0148ee2b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Sun, 10 Feb 2008 22:22:59 +0000 Subject: [PATCH] Add key binding "delete key" to "Edit > Delete Account" action. gnc_plugin_page_account_tree_cmd_delete_account() always presents at least one confirmation dialog which defaults to cancel, so massive data loss should be avoidable. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16937 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/gnc-plugin-page-account-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnome/gnc-plugin-page-account-tree.c b/src/gnome/gnc-plugin-page-account-tree.c index 5b4bd7087b..6fd2e50873 100644 --- a/src/gnome/gnc-plugin-page-account-tree.c +++ b/src/gnome/gnc-plugin-page-account-tree.c @@ -164,7 +164,7 @@ static GtkActionEntry gnc_plugin_page_account_tree_actions [] = { { "EditEditAccountAction", GNC_STOCK_EDIT_ACCOUNT, N_("Edit _Account"), "e", N_("Edit the selected account"), G_CALLBACK (gnc_plugin_page_account_tree_cmd_edit_account) }, - { "EditDeleteAccountAction", GNC_STOCK_DELETE_ACCOUNT, N_("_Delete Account..."), NULL, + { "EditDeleteAccountAction", GNC_STOCK_DELETE_ACCOUNT, N_("_Delete Account..."), "Delete", N_("Delete selected account"), G_CALLBACK (gnc_plugin_page_account_tree_cmd_delete_account) }, { "EditRenumberSubaccountsAction", NULL, N_("_Renumber Subaccounts..."), NULL,