Closed Bug 336527 Opened 18 years ago Closed 18 years ago

Expose toolkitName and version to AT-SPI

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: ginnchen+exoracle)

References

Details

(Keywords: access, fixed1.8.1)

Attachments

(1 file)

Spinoff from bug 309789.

There is a toolkitName and version in the Accessibility interface for AT-SPI:
http://gnome.org/~billh/at-spi-new-idl/html/html/classAccessibility_1_1Application.html

We should expose the Gecko version number and use either "Mozilla", "Gecko" or "xulrunner" as the toolkitName.

Not sure how to expose it in ATK.
Blocks: fox2access
Look for the string "get_toolkit" in this file to see how gail sets up the toolkit name and version using atk:

  http://cvs.gnome.org/viewcvs/*checkout*/gail/gail/gailutil.c

Since you refer to it as exposing the "Gecko version number," I guess calling it "Gecko" might be a good choice.  :-)

Will
Attached patch patchSplinter Review
Assignee: aaronleventhal → ginn.chen
Status: NEW → ASSIGNED
Attachment #221278 - Flags: review?(aaronleventhal)
Comment on attachment 221278 [details] [diff] [review]
patch

I thought Will said we weren't exposing a toolkitName it all. According to this patch, it would currently be "mozilla".
Attachment #221278 - Flags: review?(aaronleventhal) → review+
Ah, I just tested with at-poke and we are exposing the toolkit name as Mozilla. Let's keep the toolkit name as "Mozilla" since nobody knows what "Gecko" is anymore. The two names have become synonymous.

The toolkit is "Mozilla" with version "1.8" or "1.9"
The app name is "Firefox", and not "Mozilla Firefox". I'm not sure if there is a way to expose the application version.

Ginn, can you make that change? You still have r+=aaronleventhal.
Attachment #221278 - Flags: superreview?(roc)
Attachment #221278 - Flags: superreview?(roc) → superreview+
Comment on attachment 221278 [details] [diff] [review]
patch

Please also check into 1.8 branch when it opens.
Attachment #221278 - Flags: approval-branch-1.8.1?
Attachment #221278 - Flags: approval-branch-1.8.1? → approval-branch-1.8.1?(aaronleventhal)
Attachment #221278 - Flags: approval-branch-1.8.1?(aaronleventhal) → approval-branch-1.8.1+
Checking in accessible/src/atk/nsAppRootAccessible.cpp;
/cvsroot/mozilla/accessible/src/atk/nsAppRootAccessible.cpp,v  <--  nsAppRootAccessible.cpp
new revision: 1.17; previous revision: 1.16
done

Checking in accessible/src/atk/nsAppRootAccessible.cpp;
/cvsroot/mozilla/accessible/src/atk/nsAppRootAccessible.cpp,v  <--  nsAppRootAccessible.cpp
new revision: 1.11.26.4; previous revision: 1.11.26.3
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
*** Bug 237253 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: