mousetrap r14 - in trunk: . src/mouseTrap/scripts/profiles
- From: flaper svn gnome org
- To: svn-commits-list gnome org
- Subject: mousetrap r14 - in trunk: . src/mouseTrap/scripts/profiles
- Date: Sun, 12 Oct 2008 09:32:30 +0000 (UTC)
Author: flaper
Date: Sun Oct 12 09:32:30 2008
New Revision: 14
URL: http://svn.gnome.org/viewvc/mousetrap?rev=14&view=rev
Log:
holdProfile BugFix
Modified:
trunk/ChangeLog
trunk/src/mouseTrap/scripts/profiles/holdProfile.py
Modified: trunk/src/mouseTrap/scripts/profiles/holdProfile.py
==============================================================================
--- trunk/src/mouseTrap/scripts/profiles/holdProfile.py (original)
+++ trunk/src/mouseTrap/scripts/profiles/holdProfile.py Sun Oct 12 09:32:30 2008
@@ -152,7 +152,7 @@
var = dict( [ ( i, self.step*(v/abs(v)))
for i,v in enumerate( [ forehead.x - foreheadOrig.x,
forehead.y - foreheadOrig.y] )
- if abs(v) >= self.settings.getint( "hold_profile", "reqMovement" ) ] )
+ if abs(v) >= self.settings.getint( "access", "reqMovement" ) ] )
for i in var:
if i > 0: newPoss[i] += var[i]; continue
@@ -206,7 +206,7 @@
holdBox = gtk.VBox( spacing = 6 )
- reqMov = prefGui.addSpin( _("Required Movement: "), "reqMovement", self.settings.getint( "hold_profile", "reqMovement" ) )
+ reqMov = prefGui.addSpin( _("Required Movement: "), "reqMovement", self.settings.getint( "access", "reqMovement" ) )
reqMov.get_children()[1].connect("value_changed", self._spinChanged )
holdBox.pack_start( reqMov, False, False )
@@ -227,4 +227,4 @@
- prefgui: the preferences gui pointer.
"""
- self.settings.set( "hold_profile", "reqMovement", widget.get_value_as_int() )
+ self.settings.set( "access", "reqMovement", widget.get_value_as_int() )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]