summaryrefslogtreecommitdiff
path: root/src/xsane-preferences.c
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:09 +0000
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:09 +0000
commit6fceea28608be0fda32d94f59e1b1550774318a0 (patch)
tree9be4df525ab59533784ce0c8d441d61130b59e76 /src/xsane-preferences.c
parent817e6294b42b3e4435f1b99728afc1dca84a6445 (diff)
Imported Upstream version 0.98upstream/0.98
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)},