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



Author: hadess
Date: Mon Oct 27 12:35:02 2008
New Revision: 73
URL: http://svn.gnome.org/viewvc/gnome-lirc-properties?rev=73&view=rev

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

	* gnome_lirc_properties/hardware.py: Fix the backend detecting
	devices without any keys (power buttons)



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	Mon Oct 27 12:35:02 2008
@@ -194,6 +194,8 @@
                 # check that at least 85 key-codes are supported:
                 if len(keys) >= 85:
                     return True
+                if len(keys) == 0:
+                   return True
 	else:
 	     # It's not a keyboard, but we don't want it anyway
 	     return True



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