2008-12-29 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-print-operation.c:
(ev_print_operation_export_print_dialog_response_cb):
Fallback to EV_FILE_FORMAT_PS when file_format is not defined.
svn path=/trunk/; revision=3312
+2008-12-29 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-print-operation.c:
+ (ev_print_operation_export_print_dialog_response_cb):
+
+ Fallback to EV_FILE_FORMAT_PS when file_format is not defined.
+
2008-12-28 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-print-operation.c: (export_cancel),
get_first_and_last_page (export, &first_page, &last_page);
- export->fc.format = g_ascii_strcasecmp (file_format, "pdf") == 0 ?
+ export->fc.format = file_format && g_ascii_strcasecmp (file_format, "pdf") == 0 ?
EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS;
export->fc.filename = export->temp_file;
export->fc.first_page = MIN (first_page, last_page);