summaryrefslogtreecommitdiff
path: root/src/xsane-preferences.c
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2005-11-21 21:49:19 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:12 +0000
commit91e0f8f4872781ae41c44747330935d6420534e6 (patch)
tree39db641abe297fb735853015b906d7763651941e /src/xsane-preferences.c
parent13a92fd57322d6de4548e7dc992db591a0a54ee3 (diff)
parent6fceea28608be0fda32d94f59e1b1550774318a0 (diff)
Imported Debian patch 0.98-1debian/0.98-1
Diffstat (limited to 'src/xsane-preferences.c')
-rw-r--r--src/xsane-preferences.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xsane-preferences.c b/src/xsane-preferences.c
index 83da4e5..b38cdbb 100644
--- a/src/xsane-preferences.c
+++ b/src/xsane-preferences.c
@@ -50,6 +50,7 @@
Preferences preferences =
{
0, /* xsane-version string */
+ XSANE_VIEWER, /* default xsane_mode viewer */
0, /* default path to temporary directory (not defined here) */
0, /* default working_directory */
0, /* no default filename */
@@ -138,6 +139,7 @@ Preferences preferences =
1, /* preselect_scanarea after preview scan */
1, /* auto_correct_colors after preview scan */
GTK_UPDATE_DISCONTINUOUS, /* update policy for gtk frontend sliders */
+ 0, /* medium_nr */
0, /* paper_orientation */
0, /* preset_area_definitions */
0, /* printernr */
@@ -155,6 +157,7 @@ static struct
desc[] =
{
{"xsane-version", xsane_rc_pref_string, POFFSET(xsane_version_str)},
+ {"xsane-mode", xsane_rc_pref_int, POFFSET(xsane_mode)},
{"tmp-path", xsane_rc_pref_string, POFFSET(tmp_path)},
{"working-directory", xsane_rc_pref_string, POFFSET(working_directory)},
{"filename", xsane_rc_pref_string, POFFSET(filename)},
@@ -243,6 +246,7 @@ desc[] =
{"preselect-scanarea", xsane_rc_pref_int, POFFSET(preselect_scanarea)},
{"auto-correct-colors", xsane_rc_pref_int, POFFSET(auto_correct_colors)},
{"gtk-update-policy", xsane_rc_pref_int, POFFSET(gtk_update_policy)},
+ {"medium-nr", xsane_rc_pref_int, POFFSET(medium_nr)},
{"paper-orientation", xsane_rc_pref_int, POFFSET(paper_orientation)},
{"preset-area-definitions", xsane_rc_pref_int, POFFSET(preset_area_definitions)},
{"printernr", xsane_rc_pref_int, POFFSET(printernr)},