Re: [orca-list] Task for budding Orca script writer: Update/refresh the ubiquity installer orca script.



Hey Luke.

Thanks for the pointers to what needs adjusting. One last question,
out of what you pointed out needs changing, what doesn't need
changing/needs changing differently to work with orca 2.30? If you say
the script has been broken for a while, I should really try and get it
fixed for the first point release of lucid.

To be honest, most of the changes I mention were not from recent
refactor, but from 2006-2007ish.

- util.getDisplayedText():

    - gnome 2.30: self.getDisplayedText()
    - gnome 2.31: self.utilities.displayedText()

- util.findByRole():

    - gnome 2.30: self.findByRole()
    - gnome 2.31: self.utilities.descendantsWithRole()

- import util needs to be deleted as it hasn't existed in years

    - gnome 2.30: The above is true
    - gnome 2.31: The above is true

- import pyatspi will need to be added for the next item.

    - gnome 2.30: The above is true
    - gnome 2.31: The above is true

- rolenames.ROLE_FOO -> pyatspi.ROLE_FOO

    - gnome 2.30: The above is true
    - gnome 2.31: The above is true

- foo.role -> foo.getRole()

    - gnome 2.30: The above is true
    - gnome 2.31: The above is true

- foo.child(n) -> foo[n]

    - gnome 2.30: The above is true
    - gnome 2.31: The above is true

w.r.t. prefering self.presentMessage() over speech.speak():
speech.speak() is not broken; just not fully accessible.
presentMessage() only exists in 2.31

HTH.
--joanie




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]