[Pkg-kde-extras] Bug#663639: Workaround found?

W.Zabolotny at elka.pw.edu.pl W.Zabolotny at elka.pw.edu.pl
Fri Jun 22 17:07:26 UTC 2012


I've found the workaround for the reported problem, published in the
already quoted thread: https://github.com/lunaryorn/synaptiks/issues/27

below is the patch describinge changes needed in the
/usr/share/pyshared/synaptiks/monitors/mouses.py file:

# diff -C 3 mouses.py mouses.py~
*** mouses.py   2012-06-22 09:49:56.858908711 +0100
--- mouses.py~  2012-01-10 21:49:38.000000000 +0000
***************
*** 74,81 ****
          # device.  The parent represents the actual physical device. 
The name
          # may be decorated with quotation marks, which are removed for
the sake
          # of a clean represenation
!         #return cls(device['ID_SERIAL'], device.parent['NAME'].strip('"'))
!         return cls(device.get('ID_SERIAL'),
device.parent['NAME'].strip('"'))

  class MouseDevicesMonitor(QObject):
      """
--- 74,81 ----
          # device.  The parent represents the actual physical device. 
The name
          # may be decorated with quotation marks, which are removed for
the sake
          # of a clean represenation
!         return cls(device['ID_SERIAL'], device.parent['NAME'].strip('"'))
!

  class MouseDevicesMonitor(QObject):
      """







More information about the pkg-kde-extras mailing list