From 371222cb6af4929a9bdcd875db13f4cfcb608a27 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Tue, 15 Nov 2016 11:29:37 +0000 Subject: [PATCH] Add an image for the report tab There was an entry in plugin-page-report about a missing image for the report tab so have created one and added it. --- src/gnome-utils/gnc-icons.c | 1 + src/gnome-utils/gnc-icons.h | 1 + src/pixmaps/Makefile.am | 2 ++ src/report/report-gnome/gnc-plugin-page-report.c | 3 +-- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gnome-utils/gnc-icons.c b/src/gnome-utils/gnc-icons.c index a76239b9af..6d56719fc6 100644 --- a/src/gnome-utils/gnc-icons.c +++ b/src/gnome-utils/gnc-icons.c @@ -55,6 +55,7 @@ typedef struct _item_file static item_file item_files[] = { { GNC_STOCK_ACCOUNT, "gnc-account.png", "gnc-account-16.png"}, + { GNC_STOCK_ACCOUNT_REPORT, "gnc-account-report.png", "gnc-account-report-16.png"}, { GNC_STOCK_DELETE_ACCOUNT, "gnc-account-delete.png", "gnc-account-delete-16.png"}, { GNC_STOCK_EDIT_ACCOUNT, "gnc-account-edit.png", "gnc-account-edit-16.png"}, { GNC_STOCK_NEW_ACCOUNT, "gnc-account-new.png", "gnc-account-new-16.png"}, diff --git a/src/gnome-utils/gnc-icons.h b/src/gnome-utils/gnc-icons.h index 2015c9c309..395a9dd5b7 100644 --- a/src/gnome-utils/gnc-icons.h +++ b/src/gnome-utils/gnc-icons.h @@ -30,6 +30,7 @@ G_BEGIN_DECLS #define GNC_STOCK_ACCOUNT "gnc-account" +#define GNC_STOCK_ACCOUNT_REPORT "gnc-account-report" #define GNC_STOCK_DELETE_ACCOUNT "gnc-delete-account" #define GNC_STOCK_EDIT_ACCOUNT "gnc-edit-account" #define GNC_STOCK_NEW_ACCOUNT "gnc-new-account" diff --git a/src/pixmaps/Makefile.am b/src/pixmaps/Makefile.am index 183ae7979e..eea54e7de9 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-account-report-16.png \ + gnc-account-report.png \ gnc-gnome-pdf-16.png \ gnc-gnome-pdf-24.png \ gnc-invoice-16.png \ diff --git a/src/report/report-gnome/gnc-plugin-page-report.c b/src/report/report-gnome/gnc-plugin-page-report.c index 44162b8d1c..d756029324 100644 --- a/src/report/report-gnome/gnc-plugin-page-report.c +++ b/src/report/report-gnome/gnc-plugin-page-report.c @@ -277,8 +277,7 @@ gnc_plugin_page_report_class_init (GncPluginPageReportClass *klass) object_class->set_property = gnc_plugin_page_report_set_property; object_class->get_property = gnc_plugin_page_report_get_property; - // FIXME: stock reporting icon? - //gnc_plugin_page_class->tab_icon = GNC_STOCK_ACCOUNT; + gnc_plugin_page_class->tab_icon = GNC_STOCK_ACCOUNT_REPORT; gnc_plugin_page_class->plugin_name = GNC_PLUGIN_PAGE_REPORT_NAME; gnc_plugin_page_class->create_widget = gnc_plugin_page_report_create_widget;