Skip to content

Commit

Permalink
Bug #634357: Move the Budget Open/New menu items to Actions -> Budget…
Browse files Browse the repository at this point in the history
… -> New Budget / Open Budget because they have nothing to do with the file menu.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19794 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
cstim committed Nov 10, 2010
1 parent c505a6b commit 98b4258
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
1 change: 1 addition & 0 deletions src/gnome/gnc-plugin-basic-commands.c
Expand Up @@ -158,6 +158,7 @@ static GtkActionEntry gnc_plugin_actions [] =
N_("Setup scheduled transactions for repayment of a loan"),
G_CALLBACK (gnc_main_window_cmd_actions_mortgage_loan)
},
{ "ActionsBudgetAction", NULL, N_("B_udget"), NULL, NULL, NULL },
#ifdef CLOSE_BOOKS_ACTUALLY_WORKS
{
"ActionsCloseBooksAction", NULL, N_("Close _Books"), NULL,
Expand Down
18 changes: 7 additions & 11 deletions src/gnome/ui/gnc-plugin-budget-ui.xml
@@ -1,16 +1,12 @@
<ui>
<menubar>
<menu name="File" action="FileAction">
<menu name="FileNewMenu" action="FileNewMenuAction">
<placeholder name="FileNewBottonPlaceholder">
<menuitem name="FileNewBudget" action="NewBudgetAction"/>
</placeholder>
</menu>
<menu name="FileOpenMenu" action="FileOpenMenuAction">
<placeholder name="FileOpenBottomPlaceholder">
<menuitem name="FileOpenBudget" action="OpenBudgetAction"/>
</placeholder>
</menu>
<menu name="Actions" action="ActionsAction">
<placeholder name="ActionsPlaceholder">
<menu name="ActionsBudget" action="ActionsBudgetAction">
<menuitem name="BudgetNewBudget" action="NewBudgetAction"/>
<menuitem name="BudgetOpenBudget" action="OpenBudgetAction"/>
</menu>
</placeholder>
</menu>
</menubar>
</ui>
Expand Down

0 comments on commit 98b4258

Please sign in to comment.