~ubuntu-branches/ubuntu/raring/synaptiks/raring-proposed

« back to all changes in this revision

Viewing changes to synaptiks/kde/widgets/management.py

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-05-21 17:49:59 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110521174959-wt5odxlwc5kssw3b
Tags: 0.6.1-0ubuntu1
* New upstream release.
* Update watch file.
* Remove the transitional package kde-config-synaptiks.
* Drop ${python:Breaks} as it's not used anymore by dh_python2.
* Add libxtst6, python-dbus and upower to Recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    def _convert_to_property(self, key, value):
71
71
        if key == 'ignored_mouses':
72
72
            return QStringList(value)
73
 
        return value
 
73
        return ConfigurationWidgetMixin._convert_to_property(self, key, value)
74
74
 
75
75
    def _convert_from_property(self, key, value):
76
76
        if key == 'ignored_mouses':
77
77
            return [unicode(d) for d in value]
78
 
        return value
79
 
 
80
 
    def _get_defaults(self):
81
 
        return self.management_config.DEFAULTS
 
78
        return ConfigurationWidgetMixin._convert_from_property(
 
79
            self, key, value)