]> spindle.queued.net Git - midori/commitdiff
Enable integrated page setup combo box for printing
authorChristian Dywan <christian@twotoasts.de>
Mon, 5 Oct 2009 18:52:34 +0000 (20:52 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 5 Oct 2009 18:52:34 +0000 (20:52 +0200)
midori/midori-view.c

index 01c743e2dfb04bb753b51404420ce5902be66b62..1ca49dcd6cf6ceebe7860a15d3521326dd7795b3 100644 (file)
@@ -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",