mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-26 08:00:05 -05:00
Activate Close Books menu item again. This is an unstable branch, after all. Reverts r14150. bug#342599
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15086 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
1 parent
4f4e270435
commit
0deaec014b
2 files changed
+1
-7
No files matched your search
@@ -74,9 +74,7 @@ static void gnc_main_window_cmd_edit_tax_options (GtkAction *action, GncMainWind
|
||||
static void gnc_main_window_cmd_actions_mortgage_loan (GtkAction *action, GncMainWindowActionData *data);
|
||||
static void gnc_main_window_cmd_actions_scheduled_transaction_editor (GtkAction *action, GncMainWindowActionData *data);
|
||||
static void gnc_main_window_cmd_actions_since_last_run (GtkAction *action, GncMainWindowActionData *data);
|
||||
#ifdef BOOK_CLOSING_WORKS
|
||||
static void gnc_main_window_cmd_actions_close_books (GtkAction *action, GncMainWindowActionData *data);
|
||||
#endif
|
||||
static void gnc_main_window_cmd_tools_financial_calculator (GtkAction *action, GncMainWindowActionData *data);
|
||||
static void gnc_main_window_cmd_tools_find_transactions (GtkAction *action, GncMainWindowActionData *data);
|
||||
static void gnc_main_window_cmd_tools_price_editor (GtkAction *action, GncMainWindowActionData *data);
|
||||
@@ -140,11 +138,9 @@ static GtkActionEntry gnc_plugin_actions [] = {
|
||||
{ "ActionsMortgageLoanAction", NULL, N_("_Mortgage & Loan Repayment..."), NULL,
|
||||
N_("Setup scheduled transactions for repayment of a loan"),
|
||||
G_CALLBACK (gnc_main_window_cmd_actions_mortgage_loan) },
|
||||
#ifdef BOOK_CLOSING_WORKS
|
||||
{ "ActionsCloseBooksAction", NULL, N_("Close _Books"), NULL,
|
||||
N_("Archive old data using accounting periods"),
|
||||
G_CALLBACK (gnc_main_window_cmd_actions_close_books) },
|
||||
#endif
|
||||
|
||||
/* Tools menu */
|
||||
|
||||
@@ -475,13 +471,11 @@ gnc_main_window_cmd_actions_mortgage_loan (GtkAction *action, GncMainWindowActio
|
||||
gnc_ui_sx_loan_druid_create ();
|
||||
}
|
||||
|
||||
#ifdef BOOK_CLOSING_WORKS
|
||||
static void
|
||||
gnc_main_window_cmd_actions_close_books (GtkAction *action, GncMainWindowActionData *data)
|
||||
{
|
||||
gnc_acct_period_dialog();
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
gnc_main_window_cmd_tools_price_editor (GtkAction *action, GncMainWindowActionData *data)
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<menuitem name="ActionsSinceLastRun" action="ActionsSinceLastRunAction"/>
|
||||
<menuitem name="ActionsMortgageLoan" action="ActionsMortgageLoanAction"/>
|
||||
</menu>
|
||||
<!-- menuitem name="ActionsCloseBooks" action="ActionsCloseBooksAction"/ -->
|
||||
<menuitem name="ActionsCloseBooks" action="ActionsCloseBooksAction"/>
|
||||
</placeholder>
|
||||
</menu>
|
||||
|
||||
|
||||
Reference in new issue
Block a user