~ubuntu-branches/ubuntu/hardy/gnome-orca/hardy

« back to all changes in this revision

Viewing changes to src/orca/find.py

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-04-26 11:06:56 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20070426110656-uwpmlvdkave5jwrg
Tags: 2.19.1-0ubuntu1
* Synchronized with Debian, remaining Ubuntu changes:
  - debian/control:
    - newer Depends/Build-Depends, add Packages python-orca-brlapi and
      python-orca-brlapi-dbg.
  - debian/patches/01_add_ubiquity-script.dpatch,
    debian/patches/01_libbrlapi_fix.dpatch,
    debian/patches/01_link_libbrlapi.dpatch,
    debian/patches/01_no_default_desktop_item.dpatch,
    debian/patches/02_libbrlapi_fix.dpatch: added patches.
  - debian/rules, debian/control:
    - use pycentral, build python packages.
  - debian/copyright, debian/README.Debian: give credit to Luke Yelavich.
  - debian/install: python2.4 -> python*, install *.so files to different
    package.
  - debian/watch: added.
* New upstream release.
* debian/control:
  - added python-gconf as Build-Depends and Depends.
  - set Maintainer: Ubuntu Accessibility Developers
    <ubuntu-accessibility-devel@lists.ubuntu.com>
* debian/patches/01_add_ubiquity-script.dpatch:
  - updated.
* debian/patches/01_no_default_desktop_item.dpatch:
  - removed .rej file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
"""Provides support for a flat review find."""
21
21
 
22
 
__id__        = "$Id: find.py 1774 2006-12-02 23:45:12Z richb $"
23
 
__version__   = "$Revision: 1774 $"
24
 
__date__      = "$Date: 2006-12-02 18:45:12 -0500 (Sat, 02 Dec 2006) $"
 
22
__id__        = "$Id: find.py 2234 2007-04-02 18:36:08Z wwalker $"
 
23
__version__   = "$Revision: 2234 $"
 
24
__date__      = "$Date: 2007-04-02 14:36:08 -0400 (Mon, 02 Apr 2007) $"
25
25
__copyright__ = "Copyright (c) 2005-2006 Sun Microsystems Inc."
26
26
__license__   = "LGPL"
27
27
 
244
244
                        doneWithLine = False
245
245
                        wrappedYet = True
246
246
                        if self.searchBackwards:
 
247
                            # Translators: the Orca "Find" dialog
 
248
                            # allows a user to search for text in a
 
249
                            # window and then move focus to that text.
 
250
                            # For example, they may want to find the
 
251
                            # "OK" button.  This message indicates
 
252
                            # that a find operation in the reverse
 
253
                            # direction is wrapping from the top of
 
254
                            # the window down to the bottom.
 
255
                            #
247
256
                            speech.speak(_("Wrapping to Bottom"))
248
257
                            moved = context.goPrevious( \
249
258
                                    flat_review.Context.LINE, \
250
259
                                    flat_review.Context.WRAP_ALL)
251
260
                            self.debugContext(context, "[3] go previous")
252
261
                        else:
 
262
                            # Translators: the Orca "Find" dialog
 
263
                            # allows a user to search for text in a
 
264
                            # window and then move focus to that text.
 
265
                            # For example, they may want to find the
 
266
                            # "OK" button.  This message indicates
 
267
                            # that a find operation in the forward
 
268
                            # direction is wrapping from the bottom of
 
269
                            # the window up to the top.
 
270
                            #
253
271
                            speech.speak(_("Wrapping to Top"))
254
272
                            moved = context.goNext( \
255
273
                                    flat_review.Context.LINE, \