mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Deactivate the "View Lots" menu item because the lot viewer is
unfinished as well. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14152 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4f88bb6db8
commit
54404b2794
@ -5,6 +5,10 @@
|
||||
|
||||
2006-05-22 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/gnome/gnc-plugin-page-account-tree.c,
|
||||
gnc-plugin-page-register.c: Deactivate the "View Lots" menu item
|
||||
because the lot viewer is unfinished as well.
|
||||
|
||||
* src/gnome/gnc-plugin-basic-commands.c: Deactivate the "Close
|
||||
Books" menu item because that feature is unfinished as well.
|
||||
|
||||
|
@ -129,7 +129,9 @@ static void gnc_plugin_page_account_tree_cmd_view_filter_by (GtkAction *action,
|
||||
static void gnc_plugin_page_account_tree_cmd_reconcile (GtkAction *action, GncPluginPageAccountTree *page);
|
||||
static void gnc_plugin_page_account_tree_cmd_transfer (GtkAction *action, GncPluginPageAccountTree *page);
|
||||
static void gnc_plugin_page_account_tree_cmd_stock_split (GtkAction *action, GncPluginPageAccountTree *page);
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
static void gnc_plugin_page_account_tree_cmd_lots (GtkAction *action, GncPluginPageAccountTree *page);
|
||||
#endif
|
||||
static void gnc_plugin_page_account_tree_cmd_scrub (GtkAction *action, GncPluginPageAccountTree *page);
|
||||
static void gnc_plugin_page_account_tree_cmd_scrub_sub (GtkAction *action, GncPluginPageAccountTree *page);
|
||||
static void gnc_plugin_page_account_tree_cmd_scrub_all (GtkAction *action, GncPluginPageAccountTree *page);
|
||||
@ -181,9 +183,11 @@ static GtkActionEntry gnc_plugin_page_account_tree_actions [] = {
|
||||
{ "ActionsStockSplitAction", NULL, N_("Stoc_k Split..."), NULL,
|
||||
N_("Record a stock split or a stock merger"),
|
||||
G_CALLBACK (gnc_plugin_page_account_tree_cmd_stock_split) },
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
{ "ActionsLotsAction", NULL, N_("View _Lots..."), NULL,
|
||||
N_("Bring up the lot viewer/editor window"),
|
||||
G_CALLBACK (gnc_plugin_page_account_tree_cmd_lots) },
|
||||
#endif
|
||||
{ "ScrubAction", NULL, N_("Check & Repair A_ccount"), NULL,
|
||||
N_("Check for and repair unbalanced transactions and orphan splits " "in this account"),
|
||||
G_CALLBACK (gnc_plugin_page_account_tree_cmd_scrub) },
|
||||
@ -207,7 +211,9 @@ static const gchar *actions_requiring_account[] = {
|
||||
"EditEditAccountAction",
|
||||
"EditDeleteAccountAction",
|
||||
"ActionsReconcileAction",
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
"ActionsLotsAction",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
@ -1183,6 +1189,7 @@ gnc_plugin_page_account_tree_cmd_stock_split (GtkAction *action,
|
||||
gnc_stock_split_dialog (window, account);
|
||||
}
|
||||
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
static void
|
||||
gnc_plugin_page_account_tree_cmd_lots (GtkAction *action,
|
||||
GncPluginPageAccountTree *page)
|
||||
@ -1192,6 +1199,7 @@ gnc_plugin_page_account_tree_cmd_lots (GtkAction *action,
|
||||
account = gnc_plugin_page_account_tree_get_current_account (page);
|
||||
gnc_lot_viewer_dialog (account);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
gnc_plugin_page_account_tree_cmd_scrub (GtkAction *action, GncPluginPageAccountTree *page)
|
||||
|
@ -131,7 +131,9 @@ static void gnc_plugin_page_register_cmd_style_double_line (GtkToggleAction *act
|
||||
static void gnc_plugin_page_register_cmd_reconcile (GtkAction *action, GncPluginPageRegister *plugin_page);
|
||||
static void gnc_plugin_page_register_cmd_transfer (GtkAction *action, GncPluginPageRegister *plugin_page);
|
||||
static void gnc_plugin_page_register_cmd_stock_split (GtkAction *action, GncPluginPageRegister *plugin_page);
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
static void gnc_plugin_page_register_cmd_lots (GtkAction *action, GncPluginPageRegister *plugin_page);
|
||||
#endif
|
||||
static void gnc_plugin_page_register_cmd_enter_transaction (GtkAction *action, GncPluginPageRegister *plugin_page);
|
||||
static void gnc_plugin_page_register_cmd_cancel_transaction (GtkAction *action, GncPluginPageRegister *plugin_page);
|
||||
static void gnc_plugin_page_register_cmd_delete_transaction (GtkAction *action, GncPluginPageRegister *plugin_page);
|
||||
@ -234,9 +236,11 @@ static GtkActionEntry gnc_plugin_page_register_actions [] =
|
||||
{ "ActionsStockSplitAction", NULL, N_("Stoc_k Split..."), NULL,
|
||||
N_("Record a stock split or a stock merger"),
|
||||
G_CALLBACK (gnc_plugin_page_register_cmd_stock_split) },
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
{ "ActionsLotsAction", NULL, N_("_Lot Viewer..."), NULL,
|
||||
N_("Bring up the lot viewer/editor window"),
|
||||
G_CALLBACK (gnc_plugin_page_register_cmd_lots) },
|
||||
#endif
|
||||
{ "BlankTransactionAction", GTK_STOCK_GOTO_BOTTOM, N_("_Blank Transaction"), NULL,
|
||||
N_("Move to the blank transaction at the bottom of the register"),
|
||||
G_CALLBACK (gnc_plugin_page_register_cmd_blank_transaction) },
|
||||
@ -307,7 +311,9 @@ static const gchar *important_actions[] = {
|
||||
static const gchar *actions_requiring_account[] = {
|
||||
"EditEditAccountAction",
|
||||
"ActionsReconcileAction",
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
"ActionsLotsAction",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
@ -2331,6 +2337,7 @@ gnc_plugin_page_register_cmd_stock_split (GtkAction *action,
|
||||
LEAVE(" ");
|
||||
}
|
||||
|
||||
#ifdef LOTS_READY_FOR_SHOWTIME
|
||||
static void
|
||||
gnc_plugin_page_register_cmd_lots (GtkAction *action,
|
||||
GncPluginPageRegister *page)
|
||||
@ -2345,6 +2352,7 @@ gnc_plugin_page_register_cmd_lots (GtkAction *action,
|
||||
gnc_lot_viewer_dialog (account);
|
||||
LEAVE(" ");
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
gnc_plugin_page_register_cmd_enter_transaction (GtkAction *action,
|
||||
|
@ -27,7 +27,7 @@
|
||||
<menuitem name="ActionsTransfer" action="ActionsTransferAction"/>
|
||||
<menuitem name="ActionsReconcile" action="ActionsReconcileAction"/>
|
||||
<menuitem name="ActionsStockSplit" action="ActionsStockSplitAction"/>
|
||||
<menuitem name="ActionLots" action="ActionsLotsAction"/>
|
||||
<!-- menuitem name="ActionLots" action="ActionsLotsAction"/ -->
|
||||
<separator name="ActionsSep2"/>
|
||||
<menu name="ScrubMenu" action="ScrubMenuAction">
|
||||
<menuitem name="Scrub" action="ScrubAction"/>
|
||||
@ -47,7 +47,7 @@
|
||||
<menuitem name="AccountReconcile" action="ActionsReconcileAction"/>
|
||||
<menuitem name="AccountTransfer" action="ActionsTransferAction"/>
|
||||
<menuitem name="AccountStockSplit" action="ActionsStockSplitAction"/>
|
||||
<menuitem name="AccountLots" action="ActionsLotsAction"/>
|
||||
<!-- menuitem name="AccountLots" action="ActionsLotsAction"/ -->
|
||||
<separator name="AccountSep2"/>
|
||||
<menuitem name="AccountNewAccount" action="FileNewAccountAction"/>
|
||||
<menuitem name="AccountDeleteAccount" action="EditDeleteAccountAction"/>
|
||||
|
@ -38,7 +38,7 @@
|
||||
<menuitem name="ActionsTransfer" action="ActionsTransferAction"/>
|
||||
<menuitem name="ActionsReconcile" action="ActionsReconcileAction"/>
|
||||
<menuitem name="ActionsStockSplit" action="ActionsStockSplitAction"/>
|
||||
<menuitem name="ActionLots" action="ActionsLotsAction"/>
|
||||
<!-- menuitem name="ActionLots" action="ActionsLotsAction"/ -->
|
||||
<separator name="ActionsSep4"/>
|
||||
<menuitem name="BlankTransaction" action="BlankTransactionAction"/>
|
||||
<menuitem name="SplitTransaction" action="SplitTransactionAction"/>
|
||||
|
Loading…
Reference in New Issue
Block a user