[Xfce4-commits] <midori:master> Enable integrated page setup combo box for printing

Christian Dywan noreply at xfce.org
Tue Oct 6 00:24:02 CEST 2009


Updating branch refs/heads/master
         to c624048c218c2d3d73518de81f5138e41e1797b2 (commit)
       from 7aaf59ec9a75553ea081c9988bf03b6d3006bb3c (commit)

commit c624048c218c2d3d73518de81f5138e41e1797b2
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Oct 5 20:52:34 2009 +0200

    Enable integrated page setup combo box for printing

 midori/midori-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 01c743e..1ca49dc 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3774,6 +3774,9 @@ midori_view_print (MidoriView* view)
     #if WEBKIT_CHECK_VERSION (1, 1, 5)
     operation = gtk_print_operation_new ();
     gtk_print_operation_set_custom_tab_label (operation, _("Features"));
+#if GTK_CHECK_VERSION (2, 18, 0)
+    gtk_print_operation_set_embed_page_setup (operation, TRUE);
+#endif
     g_signal_connect (operation, "create-custom-widget",
         G_CALLBACK (midori_view_print_create_custom_widget_cb), view);
     g_signal_connect (operation, "custom-widget-apply",



More information about the Xfce4-commits mailing list