r16937 - gnucash/trunk/src/gnome - Add key binding "delete key" to "Edit > Delete Account" action.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Feb 10 17:23:00 EST 2008
Author: andi5
Date: 2008-02-10 17:22:59 -0500 (Sun, 10 Feb 2008)
New Revision: 16937
Trac: http://svn.gnucash.org/trac/changeset/16937
Modified:
gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
Log:
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.
Modified: gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2008-02-10 20:52:58 UTC (rev 16936)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c 2008-02-10 22:22:59 UTC (rev 16937)
@@ -164,7 +164,7 @@
{ "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,
More information about the gnucash-changes
mailing list