orca r4288 - in trunk: . src/orca



Author: joanied
Date: Tue Oct 14 20:16:14 2008
New Revision: 4288
URL: http://svn.gnome.org/viewvc/orca?rev=4288&view=rev

Log:
* src/orca/orca-setup.glade:
  src/orca/orca_gui_prefs.py:
  Fix for bug #556321 - Setting an adjustment with non-zero page
  size is deprecated.



Modified:
   trunk/ChangeLog
   trunk/src/orca/orca-setup.glade
   trunk/src/orca/orca_gui_prefs.py

Modified: trunk/src/orca/orca-setup.glade
==============================================================================
--- trunk/src/orca/orca-setup.glade	(original)
+++ trunk/src/orca/orca-setup.glade	Tue Oct 14 20:16:14 2008
@@ -1290,7 +1290,7 @@
 				  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 				  <property name="snap_to_ticks">False</property>
 				  <property name="wrap">False</property>
-				  <property name="adjustment">10 1 9999 1 10 10</property>
+				  <property name="adjustment">10 1 9999 1 10 0</property>
 				  <accessibility>
 				    <atkrelation target="speakProgressBarUnitsLabel" type="labelled-by"/>
 				    <atkrelation target="speakProgressBarLabel" type="labelled-by"/>
@@ -2605,7 +2605,7 @@
 					  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 					  <property name="snap_to_ticks">False</property>
 					  <property name="wrap">False</property>
-					  <property name="adjustment">1 1 16 0.25 1 10</property>
+					  <property name="adjustment">1 1 16 0.25 1 0</property>
 					  <accessibility>
 					    <atkrelation target="magZoomFactorLabel" type="labelled-by"/>
 					  </accessibility>
@@ -2688,7 +2688,7 @@
 						      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 						      <property name="snap_to_ticks">False</property>
 						      <property name="wrap">False</property>
-						      <property name="adjustment">1 1 9999 1 10 10</property>
+						      <property name="adjustment">1 1 9999 1 10 0</property>
 						      <accessibility>
 							<atkrelation target="magZoomerTopLabel" type="labelled-by"/>
 						      </accessibility>
@@ -2756,7 +2756,7 @@
 						      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 						      <property name="snap_to_ticks">False</property>
 						      <property name="wrap">False</property>
-						      <property name="adjustment">1 1 9999 1 10 10</property>
+						      <property name="adjustment">1 1 9999 1 10 0</property>
 						      <accessibility>
 							<atkrelation target="magZoomerBottomLabel" type="labelled-by"/>
 						      </accessibility>
@@ -2823,7 +2823,7 @@
 						      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 						      <property name="snap_to_ticks">False</property>
 						      <property name="wrap">False</property>
-						      <property name="adjustment">1 1 9999 1 10 10</property>
+						      <property name="adjustment">1 1 9999 1 10 0</property>
 						      <accessibility>
 							<atkrelation target="magZoomerRightLabel" type="labelled-by"/>
 						      </accessibility>
@@ -2914,7 +2914,7 @@
 						      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 						      <property name="snap_to_ticks">False</property>
 						      <property name="wrap">False</property>
-						      <property name="adjustment">1 1 9999 1 10 10</property>
+						      <property name="adjustment">1 1 9999 1 10 0</property>
 						      <accessibility>
 							<atkrelation target="magZoomerLeftLabel" type="labelled-by"/>
 						      </accessibility>
@@ -3240,7 +3240,7 @@
 						  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 						  <property name="snap_to_ticks">False</property>
 						  <property name="wrap">False</property>
-						  <property name="adjustment">1 0 20 1 10 10</property>
+						  <property name="adjustment">1 0 20 1 10 0</property>
 						  <accessibility>
 						    <atkrelation target="magBorderSizeLabel" type="labelled-by"/>
 						  </accessibility>
@@ -3490,7 +3490,7 @@
 					  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 					  <property name="snap_to_ticks">False</property>
 					  <property name="wrap">False</property>
-					  <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+					  <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 					  <accessibility>
 					    <atkrelation target="magColorBrightnessLabel" type="labelled-by"/>
 					  </accessibility>
@@ -3516,7 +3516,7 @@
 					  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 					  <property name="snap_to_ticks">False</property>
 					  <property name="wrap">False</property>
-					  <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+					  <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 					  <accessibility>
 					    <atkrelation target="magColorContrastLabel" type="labelled-by"/>
 					  </accessibility>
@@ -3745,7 +3745,7 @@
 							  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 							  <property name="snap_to_ticks">False</property>
 							  <property name="wrap">False</property>
-							  <property name="adjustment">1 24 256 1 10 10</property>
+							  <property name="adjustment">1 24 256 1 10 0</property>
 							  <accessibility>
 							    <atkrelation target="magCursorSizeLabel" type="labelled-by"/>
 							    <atkrelation target="magCursorSizeUnitsLabel" type="labelled-by"/>
@@ -4098,7 +4098,7 @@
 							  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 							  <property name="snap_to_ticks">False</property>
 							  <property name="wrap">False</property>
-							  <property name="adjustment">1 1 256 1 10 10</property>
+							  <property name="adjustment">1 1 256 1 10 0</property>
 							  <accessibility>
 							    <atkrelation target="magCrossHairSizeLabel" type="labelled-by"/>
 							    <atkrelation target="magCrossHairSizeUnitsLabel" type="labelled-by"/>
@@ -4536,7 +4536,7 @@
 						  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 						  <property name="snap_to_ticks">False</property>
 						  <property name="wrap">False</property>
-						  <property name="adjustment">0 0 100 1 10 10</property>
+						  <property name="adjustment">0 0 100 1 10 0</property>
 						  <accessibility>
 						    <atkrelation target="magEdgeMarginUnitsLabel" type="labelled-by"/>
 						    <atkrelation target="magEdgeMarginLabel" type="labelled-by"/>
@@ -5847,7 +5847,7 @@
 			      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 			      <property name="snap_to_ticks">False</property>
 			      <property name="wrap">False</property>
-			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 			      <accessibility>
 				<atkrelation target="magBrightnessRedLabel" type="labelled-by"/>
 			      </accessibility>
@@ -5915,7 +5915,7 @@
 			      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 			      <property name="snap_to_ticks">False</property>
 			      <property name="wrap">False</property>
-			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 			      <accessibility>
 				<atkrelation target="magBrightnessGreenLabel" type="labelled-by"/>
 			      </accessibility>
@@ -5983,7 +5983,7 @@
 			      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 			      <property name="snap_to_ticks">False</property>
 			      <property name="wrap">False</property>
-			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 			      <accessibility>
 				<atkrelation target="magBrightnessBlueLabel" type="labelled-by"/>
 			      </accessibility>
@@ -6127,7 +6127,7 @@
 			      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 			      <property name="snap_to_ticks">False</property>
 			      <property name="wrap">False</property>
-			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 			      <accessibility>
 				<atkrelation target="magContrastRedLabel" type="labelled-by"/>
 			      </accessibility>
@@ -6195,7 +6195,7 @@
 			      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 			      <property name="snap_to_ticks">False</property>
 			      <property name="wrap">False</property>
-			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 			      <accessibility>
 				<atkrelation target="magContrastGreenLabel" type="labelled-by"/>
 			      </accessibility>
@@ -6263,7 +6263,7 @@
 			      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
 			      <property name="snap_to_ticks">False</property>
 			      <property name="wrap">False</property>
-			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0.25</property>
+			      <property name="adjustment">0 -1 1 0.0500000007451 0.25 0</property>
 			      <accessibility>
 				<atkrelation target="magContrastBlueLabel" type="labelled-by"/>
 			      </accessibility>

Modified: trunk/src/orca/orca_gui_prefs.py
==============================================================================
--- trunk/src/orca/orca_gui_prefs.py	(original)
+++ trunk/src/orca/orca_gui_prefs.py	Tue Oct 14 20:16:14 2008
@@ -1345,7 +1345,7 @@
             min(topPosition, targetHeight), 
             0, targetHeight, 
             1,
-            targetHeight / 16, targetHeight)
+            targetHeight / 16, 0)
 
         if orca_state.appOS:
             spinButton = orca_state.appOS.get_widget("magZoomerTopSpinButton")
@@ -1366,7 +1366,7 @@
             min(leftPosition, targetWidth),
             0, targetWidth, 
             1,
-            targetWidth / 16, targetWidth)
+            targetWidth / 16, 0)
 
         if orca_state.appOS:
             spinButton = orca_state.appOS.get_widget("magZoomerLeftSpinButton")
@@ -1387,7 +1387,7 @@
             min(rightPosition, targetWidth),
             0, targetWidth, 
             1,
-            targetWidth / 16, targetWidth)
+            targetWidth / 16, 0)
 
         if orca_state.appOS:
             spinButton = \
@@ -1410,7 +1410,7 @@
             min(bottomPosition, targetHeight),
             0, targetHeight, 
             1,
-            targetHeight / 16, targetHeight)
+            targetHeight / 16, 0)
 
         if orca_state.appOS:
             spinButton = \
@@ -1836,7 +1836,7 @@
         #
         edgeMargin = prefs["magEdgeMargin"]
         magEdgeMarginSpinButton = self.get_widget("magEdgeMarginSpinButton")
-        adjustment = gtk.Adjustment(edgeMargin, 0, 50, 1, 5, 50)
+        adjustment = gtk.Adjustment(edgeMargin, 0, 50, 1, 5, 0)
         self.get_widget("magEdgeMarginSpinButton").set_adjustment(adjustment)
 
         # Get the preferences for what the pointer "follows" and set the



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