gnome-lirc-properties r66 - in trunk: . gnome_lirc_properties



Author: hadess
Date: Fri Oct 17 13:12:56 2008
New Revision: 66
URL: http://svn.gnome.org/viewvc/gnome-lirc-properties?rev=66&view=rev

Log:
2008-10-17  Bastien Nocera  <hadess hadess net>

	* gnome_lirc_properties/hardware.py: Fix Logitech check,
	it would have been ignoring any Logitech devices



Modified:
   trunk/ChangeLog
   trunk/gnome_lirc_properties/hardware.py

Modified: trunk/gnome_lirc_properties/hardware.py
==============================================================================
--- trunk/gnome_lirc_properties/hardware.py	(original)
+++ trunk/gnome_lirc_properties/hardware.py	Fri Oct 17 13:12:56 2008
@@ -190,7 +190,7 @@
 		# The Logitech Mini-Receivers, when in HID mode, only show
 		# a portion of the keys on this interface (with a separate keyboard
 		# and mouse still visible). We shouldn't try to configure that device
-		if str(self['info.product']).startswith('Logitech ') and len >= 70:
+		if str(self['info.product']).startswith('Logitech ') and len(keys) >= 70:
 		    return True
 
                 # check that at least 85 key-codes are supported:



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