https://bugzilla.novell.com/show_bug.cgi?id=375987

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=375987#c10





--- Comment #10 from Sanford Armstrong <[EMAIL PROTECTED]>  2008-06-12 15:31:35 
MDT ---
Created an attachment (id=221896)
 --> (https://bugzilla.novell.com/attachment.cgi?id=221896)
Proposed patch to add UIA support to Winforms

This patch does the following:
1. Works around the problem described in this bug by clearing the GTK_MODULES
environment variable before running gtk_init_check (after which it restores the
original value).
2. Reflects into the UIAutomationWinforms assembly to load UIA support (in a
static constructor of Application).  That assembly will do the work of checking
to see whether or not a11y is turned on in the system.  If it can't find that
assembly, nothing happens.
3. Adds an internal static event to Application called PreRun, used in UIA,
fired when Application.Run is called.
4. Adds an internal static event to Application called FormAdded, used in UIA
to enable a11y for new Forms.

Please review, and let me know if I can commit.  Thanks!


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to