← Back to team overview

simple-scan-team team mailing list archive

[Question #219406]: Feature request

 

New question #219406 on Simple Scan:
https://answers.launchpad.net/simple-scan/+question/219406

I'd like to request a preference-setting for the default-save-filetype

In 3.6.0 private void scan_cb in simple-scan.vala sets the default filetype for the save-file as a result of the scanmode (color = jpg, mono = pdf). 

Is it possible to override the extension-setting if there is a preference set in the settings-file 
e.g. by adding
    <key name="default-filetype" type="s">
      <default>''</default>
      <_summary>Default filetype</_summary>
      <_description>The default filetype to save scans to.</_description>
    </key>
to org.gnome.SimpleScan.gschema.xml.in

and adding
    if(options.default-filetype!='')extension=options.default-filetype;  // Probably wrong syntax, don't know vala
in scan_cb just before filename is set?



-- 
You received this question notification because you are a member of
Simple Scan Development Team, which is an answer contact for Simple
Scan.