? ChangeLog.sav
? INSTALL
? bug_332794.py
? compile
? config.guess
? config.sub
? debug.out
? debug.out.sav
? depcomp
? diffs.txt
? foo
? foo.out
? foo.py
? install-sh
? janina.sh
? labeltests.txt
? ltmain.sh
? missing
? mkinstalldirs
? omf.make
? patch.339927
? patch.340635
? patch.340635-2
? patch.340849
? patch_340559.txt
? py-compile
? xmldocs.make
? docs/Makefile
? docs/doc-set/debug.out
? docs/doc-set/orca
? docs/doc-set/orca.junk
? docs/pydoc/Makefile
? docs/pydoc/Makefile.in
? src/orca/debug.out
? src/orca/default.py.repair
? src/orca/default.py.sav
? src/orca/default.py.sav2
? src/orca/foo.py
? src/orca/mag.py.sav
? src/orca/mag.py.sav2
? src/orca/mag.py.settings
? src/orca/orca.out
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/orca/ChangeLog,v
retrieving revision 1.389
diff -p -u -r1.389 ChangeLog
--- ChangeLog	6 May 2006 21:21:15 -0000	1.389
+++ ChangeLog	7 May 2006 00:44:39 -0000
@@ -1,5 +1,9 @@
 2006-05-06  Willie Walker <william.walker@sun.com>
 
+	* src/orca/orca.py: enable accessibility if it has not
+	been enabled and issue a message.  Partially addresses 
+	bug 340849, but I need some help from Rich on this.  :-)
+	
 	* src/orca/gnomespeechfactory.py: provide fallbacks in
 	the event of starting up with no speech parameters set
 	(e.g., first time run).
Index: src/orca/orca.py
===================================================================
RCS file: /cvs/gnome/orca/src/orca/orca.py,v
retrieving revision 1.117
diff -p -u -r1.117 orca.py
--- src/orca/orca.py	6 May 2006 19:33:09 -0000	1.117
+++ src/orca/orca.py	7 May 2006 00:44:39 -0000
@@ -1358,10 +1358,13 @@ def main():
     a11yEnabled = commands.getoutput(\
         "gconftool-2 --get /desktop/gnome/interface/accessibility")
     if a11yEnabled != "true":
-        message = _("Accessibility has not been enabled for this session.")
+        os.system("gconftool-2 --type bool --set " \
+                  + "/desktop/gnome/interface/accessibility true")
+        message = _("Accessibility has just been enabled for this session.")
         print message
         speech.speak(message)
-        message = _("Please run orca-setup and then logout and log back in.")
+        braille.displayMessage(message)
+        message = _("Please logout and log back in and rerun orca.")
         print message
         speech.speak(message)
         braille.displayMessage(message)
