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

« back to all changes in this revision

Viewing changes to src/lib/accerciser/main_window.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:
29
29
  @ivar _hpaned: Horizontal paned.
30
30
  @type _hpaned: gtk.HPaned
31
31
  '''
 
32
  __gtype_name__ = "AccerciserMainWindow"
32
33
 
33
34
  def __init__(self, node):
34
35
    '''
42
43
    self.set_title(_('Accerciser Accessibility Explorer'))
43
44
    self.connect('key-press-event', self._onKeyPress)
44
45
    node.connect('blink-done', self._onBlinkDone)    
45
 
    self.gsettings = GSettings(schema=GSCHEMA)
 
46
    self.gsettings = GSettings.new(GSCHEMA)
46
47
    width = self.gsettings.get_int('window-width') or 640
47
48
    height = self.gsettings.get_int('window-height') or 640
48
49
    self.set_default_size(width, height)