diff options
author | Radek Doulik <rodo@src.gnome.org> | 2004-01-18 07:55:24 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-01-18 07:55:24 +0800 |
commit | a18a9ee80ce04d891405a851b506148a00f7e154 (patch) | |
tree | 8f1b4c49c26d435ad158d6b4fdbf4c981c3f4340 /calendar/gui/print.c | |
parent | ae353b456cb569f4beb3e16ae2cf059d9a001c23 (diff) | |
download | gsoc2013-evolution-a18a9ee80ce04d891405a851b506148a00f7e154.tar.gz gsoc2013-evolution-a18a9ee80ce04d891405a851b506148a00f7e154.tar.zst gsoc2013-evolution-a18a9ee80ce04d891405a851b506148a00f7e154.zip |
(print_table): set page orientation, it may be changed from last
printing
(print_comp): ditto
svn path=/trunk/; revision=24293
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r-- | calendar/gui/print.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c index 1fc52bac74..77e375f16c 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -2576,6 +2576,8 @@ print_comp (ECalComponent *comp, ECal *client, gboolean preview) if (!print_config) print_config = gnome_print_config_default (); + gnome_print_config_set (print_config, GNOME_PRINT_KEY_PAGE_ORIENTATION, "R0"); + copies = 1; collate = FALSE; @@ -2678,6 +2680,7 @@ print_table (ETable *etable, const char *title, gboolean preview) if (!print_config) print_config = gnome_print_config_default (); + gnome_print_config_set (print_config, GNOME_PRINT_KEY_PAGE_ORIENTATION, "R0"); printable = e_table_get_printable (etable); g_object_ref (printable); gtk_object_sink (GTK_OBJECT (printable)); |