orca r4312 - in trunk: . src/orca



Author: wwalker
Date: Sun Nov  2 00:51:42 2008
New Revision: 4312
URL: http://svn.gnome.org/viewvc/orca?rev=4312&view=rev

Log:
Refix for bug #552344 - tutorial message for desktop not spoken in ibex


Modified:
   trunk/ChangeLog
   trunk/src/orca/tutorialgenerator.py

Modified: trunk/src/orca/tutorialgenerator.py
==============================================================================
--- trunk/src/orca/tutorialgenerator.py	(original)
+++ trunk/src/orca/tutorialgenerator.py	Sun Nov  2 00:51:42 2008
@@ -216,7 +216,9 @@
         # dialog window, inform user of how to refocus these.
         childWindowsMsg = _("Press alt+f6 to give focus to child windows.")
 
-        if 'Desktop' in name or 'desktop' in name:
+        scriptName = self._script.name
+        sibling = obj.parent.getChildAtIndex(0)
+        if 'nautilus' in scriptName and obj == sibling:
             utterances.append(desktopMsg)
 
         # If this application has more than one unfocused alert or



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