[gok] set the page-size of the GtkSpinButtons in the preferences page to 0 to avoid warning messages



commit 9a7f7076e40128b37d0d7557eab5ce537d7aa974
Author: Ben Konrath <ben bagu org>
Date:   Tue Nov 10 15:17:28 2009 -0600

    set the page-size of the GtkSpinButtons in the preferences page to 0 to avoid warning messages

 automatic-scanning.xml.in           |    8 ++++----
 direct-selection.xml.in             |    2 +-
 directed.xml.in                     |    2 +-
 dwell-selection.xml.in              |    2 +-
 inverse-scanning.xml.in             |    6 +++---
 singlekey-automatic-scanning.xml.in |    6 +++---
 singlekey-inverse-scanning.xml.in   |    4 ++--
 7 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/automatic-scanning.xml.in b/automatic-scanning.xml.in
index 2654e61..863825a 100644
--- a/automatic-scanning.xml.in
+++ b/automatic-scanning.xml.in
@@ -40,19 +40,19 @@
 	<GOK:control type="vbox" border="12" spacing="8">
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Scan Delay:" />
-			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="0" />
 		</GOK:control>
 
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Initial Delay:" />
-			<GOK:control name="initialdelay" type="spinbutton" _string="Initial Delay:" value="0" min="0" max="500" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="initialdelay" type="spinbutton" _string="Initial Delay:" value="0" min="0" max="500" stepincrement="1" pageincrement="10" pagesize="0" />
 		</GOK:control>
 		<GOK:control name="wrap" type="checkbutton" _string="Wrap Rows/Columns" />	
 <!--		<GOK:control type="hbox" size="2" border="5" spacing="20">
 			<GOK:control name="autorepeat" type="checkbutton" _string="Auto Repeat On" associated="repeatrate+repeatratelabel+repeatratesuffix" associatedstate="1" />
 			<GOK:control type="hbox" size="2" border="0" spacing="5">
 				<GOK:control name="repeatratelabel" type="label" _string="Auto Repeat Rate:" />
-				<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="10" />
+				<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="0" />
 				<GOK:control name="repeatratesuffix" type="label" _string="(100s of a second)" />
 			</GOK:control>
 		</GOK:control> -->
@@ -69,7 +69,7 @@
 		</GOK:control>
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control name="cyclenumber" type="label" _string="Cycles Before Stopping:" />
-			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="3" />
+			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="0" />
 <!--			<GOK:control name="continuouscycle" type="checkbutton" _string="Continuous Cycle On" associated="cycles+cyclenumber" associatedstate="0"/> -->
 		</GOK:control>
 	
diff --git a/direct-selection.xml.in b/direct-selection.xml.in
index 331c576..c849480 100644
--- a/direct-selection.xml.in
+++ b/direct-selection.xml.in
@@ -41,7 +41,7 @@
 		<GOK:control name="autorepeat" type="checkbutton" _string="Auto Repeat On" associated="repeatrate+repeatratelabel+repeatratesuffix" associatedstate="1"/>
 		<GOK:control type="hbox" size="3" border="0" spacing="5">
 			<GOK:control name="repeatratelabel" type="label" _string="Auto Repeat Rate:" />
-			<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="0" />
 			<GOK:control name="repeatratesuffix" type="label" _string="(100s of a second)" />
 		</GOK:control>
 	</GOK:control>
diff --git a/directed.xml.in b/directed.xml.in
index 01dfe87..0618b73 100644
--- a/directed.xml.in
+++ b/directed.xml.in
@@ -52,7 +52,7 @@
 	<GOK:control type="vbox" spacing="4" border="12">
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Scan Delay:" />
-			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="0" />
 			<GOK:control type="label" _string="(100s of a second)" />
 		</GOK:control>
 		<GOK:control name="wrap" type="checkbutton" _string="Wrap Rows/Columns" />
diff --git a/dwell-selection.xml.in b/dwell-selection.xml.in
index eca2401..7c4bc38 100644
--- a/dwell-selection.xml.in
+++ b/dwell-selection.xml.in
@@ -41,7 +41,7 @@
 		<GOK:control name="autorepeat" type="checkbutton" _string="Auto Repeat On" associated="repeatrate+repeatratelabel+repeatratesuffix" associatedstate="1"/>
 		<GOK:control type="hbox" size="3" border="0" spacing="0">
 			<GOK:control name="repeatratelabel" type="label" _string="Auto Repeat Rate:" />
-			<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="0" />
 			<GOK:control name="repeatratesuffix" type="label" _string="(100s of a second)" />
 		</GOK:control>
 	</GOK:control>
diff --git a/inverse-scanning.xml.in b/inverse-scanning.xml.in
index e8be1d8..d273c3c 100644
--- a/inverse-scanning.xml.in
+++ b/inverse-scanning.xml.in
@@ -40,7 +40,7 @@
 	<GOK:control type="vbox" border="12" spacing="8">
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Scan Delay:" />
-			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="0" />
 			<GOK:control type="label" _string="(100s of a second)" />
 		</GOK:control>
 		<GOK:control name="wrap" type="checkbutton" _string="Wrap Rows/Columns" />
@@ -49,7 +49,7 @@
 			<GOK:control name="autorepeat" type="checkbutton" _string="Auto Repeat On" />
 			<GOK:control type="hbox" size="3" border="0" spacing="5">
 				<GOK:control type="label" _string="Auto Repeat Rate:" />
-				<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="10" />
+				<GOK:control name="repeatrate" type="spinbutton" _string="Auto Repeat Rate:" value="1" min="0" max="100" stepincrement="1" pageincrement="10" pagesize="0" />
 				<GOK:control type="label" _string="(100s of a second)" />
 			</GOK:control>
 		</GOK:control> -->
@@ -68,7 +68,7 @@
 
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Cycles Before Stopping:" />
-			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="3" />
+			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="0" />
 <!--			<GOK:control name="continuouscycle" type="checkbutton" _string="Continuous Cycle On" /> -->
 		</GOK:control>
 	</GOK:control>
diff --git a/singlekey-automatic-scanning.xml.in b/singlekey-automatic-scanning.xml.in
index bd30624..046497a 100644
--- a/singlekey-automatic-scanning.xml.in
+++ b/singlekey-automatic-scanning.xml.in
@@ -41,11 +41,11 @@
 	<GOK:control type="vbox" border="12" spacing="8">
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Scan Delay:" />
-			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="0" />
 		</GOK:control>
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Initial Delay:" />
-			<GOK:control name="initialdelay" type="spinbutton" _string="Initial Delay:" value="0" min="0" max="500" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="initialdelay" type="spinbutton" _string="Initial Delay:" value="0" min="0" max="500" stepincrement="1" pageincrement="10" pagesize="0" />
 		</GOK:control>
 		<GOK:control name="wrap" type="checkbutton" _string="Wrap Row/Columns" />
 		<GOK:control type="hbox" spacing="20">
@@ -61,7 +61,7 @@
 		</GOK:control>
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control name="cyclenumber" type="label" _string="Cycles Before Stopping:" />
-			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="3" />
+			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="0" />
 		</GOK:control>
 	
 <!--		<GOK:control type="hbox" size="2" border="5" spacing="10">
diff --git a/singlekey-inverse-scanning.xml.in b/singlekey-inverse-scanning.xml.in
index 70a2980..c30b8db 100644
--- a/singlekey-inverse-scanning.xml.in
+++ b/singlekey-inverse-scanning.xml.in
@@ -40,7 +40,7 @@
 	<GOK:control type="vbox" border="12" spacing="8">
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Scan Delay:" />
-			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="10" />
+			<GOK:control name="scanspeed" type="spinbutton" _string="Scan Speed:" value="100" min="10" max="500" stepincrement="1" pageincrement="10" pagesize="0" />
 			<GOK:control type="label" _string="(100s of a second)" />
 		</GOK:control>
 		<GOK:control name="wrap" type="checkbutton" _string="Wrap Rows/Columns" />
@@ -57,7 +57,7 @@
 		</GOK:control>
 		<GOK:control type="hbox" spacing="12">
 			<GOK:control type="label" _string="Cycles Before Stopping:" />
-			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="3" />
+			<GOK:control name="cycles" type="spinbutton" _string="Cycles Before Stopping:" value="3" min="1" max="10" stepincrement="1" pageincrement="3" pagesize="0" />
 		</GOK:control>
 	</GOK:control>
 </GOK:control>



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