[orca/gnome-2-26] Fix for bug #580329 - Use show_uri() to display help window
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca/gnome-2-26] Fix for bug #580329 - Use show_uri() to display help window
- Date: Thu, 30 Apr 2009 14:09:32 -0400 (EDT)
commit 3f1b6dc5eaa50b74756fc966968cd366af0bb9e7
Author: Willie Walker <william walker sun com>
Date: Thu Apr 30 14:06:29 2009 -0400
Fix for bug #580329 - Use show_uri() to display help window
---
src/orca/orca.py | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/orca/orca.py b/src/orca/orca.py
index 0dcccc5..aa2ebc9 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -1094,12 +1094,9 @@ def helpForOrca(script=None, inputEvent=None):
Returns True to indicate the input event has been consumed.
"""
-
- props = { gnome.PARAM_APP_DATADIR : '/usr/share'}
- prog = gnome.program_init('orca', '1.0', properties=props)
- gnome.help_display_with_doc_id(prog, 'gnome-access-guide',
- 'gnome-access-guide', 'ats-2')
-
+ gtk.show_uri(gtk.gdk.screen_get_default(),
+ "ghelp:gnome-access-guide#ats-2",
+ gtk.get_current_event_time())
return True
def quitOrca(script=None, inputEvent=None):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]