~ubuntu-branches/ubuntu/vivid/accerciser/vivid-proposed

« back to all changes in this revision

Viewing changes to src/lib/accerciser/hotkey_manager.py

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Jackson Doak, Michael Biebl
  • Date: 2014-09-24 12:12:36 UTC
  • mfrom: (37.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140924121236-qst718kxwseb5rud
Tags: 3.14.0-1
[ Jackson Doak ]
* New upstream release
* debian/control: Drop unused depend on python-support

[ Michael Biebl ]
* Drop obsolete --disable-scrollkeeper configure flag.
* Bump minimum required version of ATSPI to 2.5.2 as per configure.ac.
* Update Homepage URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
      self[path][COL_CALLBACK] = callback
131
131
    else:
132
132
      gspath = self._getComboGSettingsPath(component, description)
133
 
      gsettings = GSettings(schema=HOTKEYS_GSCHEMA, path=gspath)
 
133
      gsettings = GSettings.new_with_path(HOTKEYS_GSCHEMA, gspath)
134
134
      if gsettings.get_string('hotkey-combo'):
135
135
        final_keypress, final_modifiers = gtk.accelerator_parse(
136
136
          gsettings.get_string('hotkey-combo'))
181
181
 
182
182
    gspath = self._getComboGSettingsPath(model[iter][COL_COMPONENT], 
183
183
                                         model[iter][COL_DESC])
184
 
    gsettings = GSettings(schema=HOTKEYS_GSCHEMA, path=gspath)
 
184
    gsettings = GSettings.new_with_path(HOTKEYS_GSCHEMA, gspath)
185
185
    combo_name = gtk.accelerator_name(model[iter][COL_KEYPRESS], 
186
186
                                      gdk.ModifierType(model[iter][COL_MOD]))
187
187