[eog] Don't save the print-to-file output URI.
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Don't save the print-to-file output URI.
- Date: Sat, 1 Dec 2012 19:17:59 +0000 (UTC)
commit c3b0e67b9ee1d7dc1d49be93a25bc4e50a8fafbb
Author: Felix Riemann <friemann gnome org>
Date: Sat Dec 1 20:00:36 2012 +0100
Don't save the print-to-file output URI.
This would break the print-to-file basename feature.
https://bugzilla.gnome.org/show_bug.cgi?id=683335
src/eog-print.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-print.c b/src/eog-print.c
index 73f28f5..0bd8ba8 100644
--- a/src/eog-print.c
+++ b/src/eog-print.c
@@ -516,6 +516,8 @@ eog_print_set_print_settings (GtkPrintSettings *print_settings)
/* Override copies settings as we don't want to save
* this for the next time eog is used. */
gtk_print_settings_set_n_copies (print_settings, 1);
+ /* Unset output-uri as it would break setting output-base-name */
+ gtk_print_settings_set (print_settings, GTK_PRINT_SETTINGS_OUTPUT_URI, NULL);
gtk_print_settings_to_key_file (print_settings, key_file, EOG_PRINT_SETTINGS_GROUP);
eog_print_save_key_file (key_file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]