Add icons for Duplicate Invoice functionality

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20134 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2011-01-21 11:52:09 +00:00
parent 86ba21c60e
commit db2194abc9
6 changed files with 6 additions and 3 deletions

View File

@ -135,9 +135,8 @@ static GtkActionEntry gnc_plugin_page_invoice_actions [] =
G_CALLBACK (gnc_plugin_page_invoice_cmd_edit)
},
{
"EditDuplicateInvoiceAction", GTK_STOCK_COPY, N_("_Duplicate Invoice"),
"", /* empty accelerator string to avoid Ctrl+C here! */
N_("Create a new invoice as a duplicate of the current one"),
"EditDuplicateInvoiceAction", GNC_STOCK_INVOICE_DUPLICATE, N_("_Duplicate Invoice"),
NULL, N_("Create a new invoice as a duplicate of the current one"),
G_CALLBACK (gnc_plugin_page_invoice_cmd_duplicateInvoice)
},
{

View File

@ -47,6 +47,7 @@ static item_file item_files[] =
{ 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_EDIT, "gnc-invoice-edit.png", "gnc-invoice-edit-16.png"},
{ GNC_STOCK_INVOICE_DUPLICATE, "gnc-invoice-duplicate.png", "gnc-invoice-duplicate-16.png"},
{ 0 },
};

View File

@ -23,6 +23,7 @@ G_BEGIN_DECLS
#define GNC_STOCK_INVOICE_UNPOST "gnc-invoice-unpost"
#define GNC_STOCK_INVOICE_PAY "gnc-invoice-pay"
#define GNC_STOCK_INVOICE_EDIT "gnc-invoice-edit"
#define GNC_STOCK_INVOICE_DUPLICATE "gnc-invoice-duplicate"
//FIXME: use own budget icons?
#define GNC_STOCK_BUDGET "gnc-budget"

View File

@ -12,6 +12,8 @@ gncpixmap_DATA = \
gnc-account-open.png \
gnc-account.png \
gnc-invoice-16.png \
gnc-invoice-duplicate-16.png \
gnc-invoice-duplicate.png \
gnc-invoice-edit-16.png \
gnc-invoice-edit.png \
gnc-invoice-pay-16.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 838 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB