[simple-scan] Fix page-delay issues



commit 98dadb4b0e2beb5e406e486eb7e7962a1f20fb30
Author: Tomasz ZdybaƂ <tomek zdybal lap pl>
Date:   Mon Jul 22 23:02:45 2019 +0200

    Fix page-delay issues

 data/org.gnome.SimpleScan.gschema.xml | 2 +-
 src/preferences-dialog.vala           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/org.gnome.SimpleScan.gschema.xml b/data/org.gnome.SimpleScan.gschema.xml
index f1a0a95..4bf23ff 100644
--- a/data/org.gnome.SimpleScan.gschema.xml
+++ b/data/org.gnome.SimpleScan.gschema.xml
@@ -67,7 +67,7 @@
       <description>Quality value to use for JPEG compression.</description>
     </key>
     <key name="page-delay" type="i">
-      <range min="0" max="10000" />
+      <range min="0" max="15000" />
       <default>1000</default>
       <summary>Delay in millisecond between pages</summary>
       <description>Delay in millisecond between pages.</description>
diff --git a/src/preferences-dialog.vala b/src/preferences-dialog.vala
index 43f49af..1533541 100644
--- a/src/preferences-dialog.vala
+++ b/src/preferences-dialog.vala
@@ -411,7 +411,7 @@ private class PreferencesDialog : Gtk.Dialog
     {
         if (page_delay >= 15000)
             page_delay_15s_button.active = true;
-        else if (page_delay >= 1000)
+        else if (page_delay >= 10000)
             page_delay_10s_button.active = true;
         else if (page_delay >= 7000)
             page_delay_7s_button.active = true;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]