~ubuntu-branches/ubuntu/wily/gnome-orca/wily-proposed

« back to all changes in this revision

Viewing changes to src/orca/scripts/apps/gnome-documents/script.py

  • Committer: Package Import Robot
  • Author(s): Mario Lang, Emilio Pozuelo Monfort, Mario Lang
  • Date: 2014-03-26 09:02:03 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20140326090203-hklufxw4me5mq70b
Tags: 3.12.0-1
[ Emilio Pozuelo Monfort ]
* debian/control.in:
  + Depend on gsettings-desktop-schemas, needed for the a11y gsettings
    keys. Closes: #741211.

[ Mario Lang ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
import pyatspi
29
29
 
30
 
import orca.scripts.default as default
 
30
import orca.scripts.toolkits.gtk as gtk
31
31
import orca.orca_state as orca_state
32
32
from .speech_generator import SpeechGenerator
33
33
from .script_utilities import Utilities
34
34
 
35
 
class Script(default.Script):
 
35
class Script(gtk.Script):
36
36
 
37
37
    def __init__(self, app):
38
38
        """Creates a new script for the given application.
41
41
        - app: the application to create a script for.
42
42
        """
43
43
 
44
 
        default.Script.__init__(self, app)
 
44
        gtk.Script.__init__(self, app)
45
45
 
46
46
    def getSpeechGenerator(self):
47
47
        """Returns the speech generator for this script."""
77
77
                text.setCaretOffset(0)
78
78
            return self.sayAll(None)
79
79
 
80
 
        default.Script.onNameChanged(self, event)
 
80
        gtk.Script.onNameChanged(self, event)