diff --git a/src/business/business-gnome/gnc-plugin-page-invoice.c b/src/business/business-gnome/gnc-plugin-page-invoice.c index 27f775ad9c..f0620f333e 100644 --- a/src/business/business-gnome/gnc-plugin-page-invoice.c +++ b/src/business/business-gnome/gnc-plugin-page-invoice.c @@ -97,11 +97,6 @@ static GtkActionEntry gnc_plugin_page_invoice_actions [] = { "SortOrderAction", NULL, N_("Sort _Order"), NULL, NULL, NULL }, /* File menu */ - { - "FileNewInvoiceAction", GTK_STOCK_NEW, N_("New _Invoice"), "", - N_("Create a new invoice"), - G_CALLBACK (gnc_plugin_page_invoice_cmd_new_invoice) - }, { "FileNewAccountAction", GNC_STOCK_NEW_ACCOUNT, N_("New _Account..."), NULL, N_("Create a new account"), @@ -178,6 +173,11 @@ static GtkActionEntry gnc_plugin_page_invoice_actions [] = }, /* Business menu */ + { + "BusinessNewInvoiceAction", GNC_STOCK_INVOICE_NEW, N_("New _Invoice"), "", + N_("Create a new invoice for the same owner as the current one"), + G_CALLBACK (gnc_plugin_page_invoice_cmd_new_invoice) + }, { "ToolsProcessPaymentAction", GNC_STOCK_INVOICE_PAY, N_("_Pay Invoice"), NULL, N_("Enter a payment for the owner of this Invoice"), diff --git a/src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml b/src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml index e6e04e2114..0dbe40eb6a 100644 --- a/src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml +++ b/src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml @@ -51,12 +51,13 @@ + + - diff --git a/src/gnome-utils/gnc-icons.c b/src/gnome-utils/gnc-icons.c index b675a20313..3e9c63da3d 100644 --- a/src/gnome-utils/gnc-icons.c +++ b/src/gnome-utils/gnc-icons.c @@ -46,6 +46,7 @@ static item_file item_files[] = { GNC_STOCK_INVOICE_PAY, "gnc-invoice-pay.png", "gnc-invoice-pay-16.png"}, { GNC_STOCK_INVOICE_POST, "gnc-invoice-post.png", "gnc-invoice-post-16.png"}, { GNC_STOCK_INVOICE_UNPOST, "gnc-invoice-unpost.png", "gnc-invoice-unpost-16.png"}, + { GNC_STOCK_INVOICE_NEW, "gnc-invoice-new.png", "gnc-invoice-new-16.png"}, { GNC_STOCK_INVOICE_EDIT, "gnc-invoice-edit.png", "gnc-invoice-edit-16.png"}, { GNC_STOCK_INVOICE_DUPLICATE, "gnc-invoice-duplicate.png", "gnc-invoice-duplicate-16.png"}, { 0 }, diff --git a/src/gnome-utils/gnc-icons.h b/src/gnome-utils/gnc-icons.h index bc9e28256c..e5c1e579cd 100644 --- a/src/gnome-utils/gnc-icons.h +++ b/src/gnome-utils/gnc-icons.h @@ -22,6 +22,7 @@ G_BEGIN_DECLS #define GNC_STOCK_INVOICE_POST "gnc-invoice-post" #define GNC_STOCK_INVOICE_UNPOST "gnc-invoice-unpost" #define GNC_STOCK_INVOICE_PAY "gnc-invoice-pay" +#define GNC_STOCK_INVOICE_NEW "gnc-invoice-new" #define GNC_STOCK_INVOICE_EDIT "gnc-invoice-edit" #define GNC_STOCK_INVOICE_DUPLICATE "gnc-invoice-duplicate" diff --git a/src/pixmaps/Makefile.am b/src/pixmaps/Makefile.am index 2d50589fc5..44d1cbe1f1 100644 --- a/src/pixmaps/Makefile.am +++ b/src/pixmaps/Makefile.am @@ -16,6 +16,8 @@ gncpixmap_DATA = \ gnc-invoice-duplicate.png \ gnc-invoice-edit-16.png \ gnc-invoice-edit.png \ + gnc-invoice-new-16.png \ + gnc-invoice-new.png \ gnc-invoice-pay-16.png \ gnc-invoice-pay.png \ gnc-invoice-post-16.png \ diff --git a/src/pixmaps/gnc-invoice-new-16.png b/src/pixmaps/gnc-invoice-new-16.png new file mode 100644 index 0000000000..f85265d3ac Binary files /dev/null and b/src/pixmaps/gnc-invoice-new-16.png differ diff --git a/src/pixmaps/gnc-invoice-new.png b/src/pixmaps/gnc-invoice-new.png new file mode 100644 index 0000000000..3987a30e58 Binary files /dev/null and b/src/pixmaps/gnc-invoice-new.png differ