Deactivate the "Close Books" menu item because that feature is

unfinished as well.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14150 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-05-22 18:21:48 +00:00
parent 36309d980a
commit 7f40fabd27
3 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2006-05-22 Christian Stimming <stimming@tuhh.de>
* src/gnome/gnc-plugin-basic-commands.c: Deactivate the "Close
Books" menu item because that feature is unfinished as well.
* src/gnome/gnc-plugin-basic-commands.c: Hide the "Export account
chart as QSF" as well. Not ready for 2.0.0 due to e.g. bug#341559.

View File

@ -80,7 +80,9 @@ 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);
@ -148,9 +150,11 @@ 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 */
@ -468,11 +472,13 @@ 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)

View File

@ -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>