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

« back to all changes in this revision

Viewing changes to src/orca/braille.py

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich
  • Date: 2013-01-04 13:32:55 UTC
  • mfrom: (0.12.5)
  • Revision ID: package-import@ubuntu.com-20130104133255-xioc9ptckam1y1bh
Tags: 3.7.3-0ubuntu1
* New upstream release
  - General
    + Provide support to cycle amongst speech-dispatcher's capitalization
      presentation options
    + Create a generic UI which can be used in element navigation lists
    + Add a _getAll() method to structural_navigation.py
    + Fix for bug 689486 - Broken links to gnome-user-docs in the orca help
    + Remove a missed call to str.decode()
    + Make viewing Orca help in Yelp activatable via Learn Mode
    + Eliminate the Splash window, Main window, and Quit window
    + Increase the default uppercase pitch to 7.0
    + Use GLib.source_remove() instead of the deprecated GObject equivalent
    + Delete the acroread script
  - New and updated translations (THANKS EVERYONE!!!):
    + es            Spanish                 Daniel Mustieles
    + ta            Tamil                   Dr.T.Vasudevan
* debian/patches/01_show_main_window.patch: Drop, no longer needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1468
1468
    global viewport
1469
1469
    if _flashEventSourceId:
1470
1470
        if _flashEventSourceId > 0:
1471
 
            GObject.source_remove(_flashEventSourceId)
 
1471
            GLib.source_remove(_flashEventSourceId)
1472
1472
        if restoreSaved:
1473
1473
            (_lines, _regionWithFocus, viewport, flashTime) = _saved
1474
1474
            refresh(panToCursor=False, stopFlash=False)
1477
1477
def resetFlashTimer():
1478
1478
    global _flashEventSourceId
1479
1479
    if _flashEventSourceId > 0:
1480
 
        GObject.source_remove(_flashEventSourceId)
 
1480
        GLib.source_remove(_flashEventSourceId)
1481
1481
        flashTime = _saved[3]
1482
1482
        _flashEventSourceId = GLib.timeout_add(flashTime, _flashCallback)
1483
1483
 
1498
1498
 
1499
1499
    if _flashEventSourceId:
1500
1500
        if _flashEventSourceId > 0:
1501
 
            GObject.source_remove(_flashEventSourceId)
 
1501
            GLib.source_remove(_flashEventSourceId)
1502
1502
        _flashEventSourceId = 0
1503
1503
    else:
1504
1504
        _saved = (_lines, _regionWithFocus, viewport, flashTime)
1843
1843
 
1844
1844
    if _brlAPIRunning:
1845
1845
        _brlAPIRunning = False
1846
 
        GObject.source_remove(_brlAPISourceId)
 
1846
        GLib.source_remove(_brlAPISourceId)
1847
1847
        _brlAPISourceId = 0
1848
1848
        try:
1849
1849
            _brlAPI.leaveTtyMode()