Added icon for "Export to PDF", copied from GNOME icons (license: GPL)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21756 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2011-12-19 22:25:34 +00:00
parent eea7693288
commit 81271aa62b
6 changed files with 7 additions and 2 deletions

View File

@ -49,6 +49,7 @@ static item_file item_files[] =
{ 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"},
{ GNC_STOCK_PDF_EXPORT, "gnc-gnome-pdf-24.png", "gnc-gnome-pdf-16.png"},
{ 0 },
};

View File

@ -25,6 +25,7 @@ G_BEGIN_DECLS
#define GNC_STOCK_INVOICE_NEW "gnc-invoice-new"
#define GNC_STOCK_INVOICE_EDIT "gnc-invoice-edit"
#define GNC_STOCK_INVOICE_DUPLICATE "gnc-invoice-duplicate"
#define GNC_STOCK_PDF_EXPORT "gnc-pdf-export"
//FIXME: use own budget icons?
#define GNC_STOCK_BUDGET "gnc-budget"

View File

@ -11,6 +11,8 @@ gncpixmap_DATA = \
gnc-account-open-16.png \
gnc-account-open.png \
gnc-account.png \
gnc-gnome-pdf-16.png \
gnc-gnome-pdf-24.png \
gnc-invoice-16.png \
gnc-invoice-duplicate-16.png \
gnc-invoice-duplicate.png \
@ -119,7 +121,7 @@ scalable/gnucash-icon.svg: ${top_srcdir}/art/tango/scalable/gnucash.svg
gnucash-icon-16x16.png:
cp ${top_srcdir}/art/tango/16x16/gnucash.png gnucash-icon-16x16.png
gnucash-icon-32x32.png:
cp ${top_srcdir}/art/tango/32x32/gnucash.png gnucash-icon-32x32.png
endif

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -68,6 +68,7 @@
#include "window-report.h"
#include "swig-runtime.h"
#include "app-utils/business-options.h"
#include "gnome-utils/gnc-icons.h"
#define WINDOW_REPORT_CM_CLASS "window-report"
@ -1032,7 +1033,7 @@ static GtkActionEntry report_actions[] =
G_CALLBACK(gnc_plugin_page_report_print_cb)
},
{
"FilePrintPDFAction", GTK_STOCK_PRINT_REPORT, N_("Export as P_DF..."), NULL,
"FilePrintPDFAction", GNC_STOCK_PDF_EXPORT, N_("Export as P_DF..."), NULL,
N_("Export the current report as a PDF document"),
G_CALLBACK(gnc_plugin_page_report_exportpdf_cb)
},