[glide] glide-print-util: Default print orientation horizontal
- From: Robert Carr <racarr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glide] glide-print-util: Default print orientation horizontal
- Date: Sat, 5 Jun 2010 19:49:04 +0000 (UTC)
commit bff6ddf273f64c9b3f672841af63c8d316425c6e
Author: Robert Carr <racarr Valentine localdomain>
Date: Mon May 24 18:59:28 2010 -0400
glide-print-util: Default print orientation horizontal
libglide/glide-print-util.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libglide/glide-print-util.c b/libglide/glide-print-util.c
index 327e78c..22a1370 100644
--- a/libglide/glide-print-util.c
+++ b/libglide/glide-print-util.c
@@ -70,7 +70,13 @@ void
glide_print_util_print (GlideStageManager *manager)
{
GtkPrintOperation *print = gtk_print_operation_new ();
+ GtkPrintSettings *settings = gtk_print_settings_new ();
GtkPrintOperationResult res;
+
+ gtk_print_settings_set_orientation (settings,
+ GTK_PAGE_ORIENTATION_LANDSCAPE);
+
+ gtk_print_operation_set_print_settings (print, settings);
g_signal_connect (print, "begin_print",
G_CALLBACK (glide_print_util_begin_print), manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]