[evince] browser-plugin: Use embedded page setup in the print dialog
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] browser-plugin: Use embedded page setup in the print dialog
- Date: Thu, 11 Sep 2014 08:46:10 +0000 (UTC)
commit c2d7723f3098e699e1314886c564a7a0a55310b8
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Thu Sep 11 10:45:25 2014 +0200
browser-plugin: Use embedded page setup in the print dialog
browser-plugin/EvBrowserPlugin.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/EvBrowserPlugin.cpp b/browser-plugin/EvBrowserPlugin.cpp
index a974eb8..003e30d 100644
--- a/browser-plugin/EvBrowserPlugin.cpp
+++ b/browser-plugin/EvBrowserPlugin.cpp
@@ -448,6 +448,7 @@ void EvBrowserPlugin::print() const
if (const char *title = ev_document_get_title(document))
ev_print_operation_set_job_name(printOperation, title);
ev_print_operation_set_current_page(printOperation, ev_document_model_get_page(m_model));
+ ev_print_operation_set_embed_page_setup (printOperation, TRUE);
ev_print_operation_set_print_settings(printOperation, printSettings);
g_object_unref(printSettings);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]