From bc5f86ff92b0c2fd46d7e8ed6076a82ace54735c Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Fri, 27 Apr 2018 15:48:47 +0200 Subject: [PATCH] Bug 794941 - Both print icons export to pdf This affects only Windows and OS X gnucash users. On linux we use webkit2 for our report handling which has the opposite issue, namely that both buttons will open the print dialog and it's no longer possible to effectively export directly to pdf (though one can choose print to file in the print dialog as a work around). This inverse issue is tracked separately in https://bugzilla.gnome.org/show_bug.cgi?id=787018 --- gnucash/report/report-gnome/gnc-plugin-page-report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/report-gnome/gnc-plugin-page-report.c b/gnucash/report/report-gnome/gnc-plugin-page-report.c index 9a95335a87..b370d87232 100644 --- a/gnucash/report/report-gnome/gnc-plugin-page-report.c +++ b/gnucash/report/report-gnome/gnc-plugin-page-report.c @@ -1891,7 +1891,7 @@ gnc_plugin_page_report_print_cb( GtkAction *action, GncPluginPageReport *report //g_warning("Setting job name=%s", job_name); #ifdef WEBKIT1 - gnc_html_print (priv->html, job_name, TRUE); + gnc_html_print (priv->html, job_name, FALSE); #else gnc_html_print (priv->html); #endif