diff --git a/src/gnome-utils/gnc-icons.c b/src/gnome-utils/gnc-icons.c index 3e9c63da3d..36bfee4b9c 100644 --- a/src/gnome-utils/gnc-icons.c +++ b/src/gnome-utils/gnc-icons.c @@ -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 }, }; diff --git a/src/gnome-utils/gnc-icons.h b/src/gnome-utils/gnc-icons.h index e5c1e579cd..8bb17d734e 100644 --- a/src/gnome-utils/gnc-icons.h +++ b/src/gnome-utils/gnc-icons.h @@ -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" diff --git a/src/pixmaps/Makefile.am b/src/pixmaps/Makefile.am index 44d1cbe1f1..dcebe330de 100644 --- a/src/pixmaps/Makefile.am +++ b/src/pixmaps/Makefile.am @@ -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 diff --git a/src/pixmaps/gnc-gnome-pdf-16.png b/src/pixmaps/gnc-gnome-pdf-16.png new file mode 100644 index 0000000000..7958daaac4 Binary files /dev/null and b/src/pixmaps/gnc-gnome-pdf-16.png differ diff --git a/src/pixmaps/gnc-gnome-pdf-24.png b/src/pixmaps/gnc-gnome-pdf-24.png new file mode 100644 index 0000000000..e2afe42dc2 Binary files /dev/null and b/src/pixmaps/gnc-gnome-pdf-24.png differ diff --git a/src/report/report-gnome/gnc-plugin-page-report.c b/src/report/report-gnome/gnc-plugin-page-report.c index 4011308d2e..fd683210b6 100644 --- a/src/report/report-gnome/gnc-plugin-page-report.c +++ b/src/report/report-gnome/gnc-plugin-page-report.c @@ -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) },