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
This commit is contained in:
Andreas Köhler
2008-02-10 22:22:59 +00:00
parent 74830145a8
commit a0d287f250

View File

@@ -164,7 +164,7 @@ static GtkActionEntry gnc_plugin_page_account_tree_actions [] = {
{ "EditEditAccountAction", GNC_STOCK_EDIT_ACCOUNT, N_("Edit _Account"), "<control>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,