orca r4313 - in branches/gnome-2-24: . src/orca



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

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


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/orca/tutorialgenerator.py

Modified: branches/gnome-2-24/src/orca/tutorialgenerator.py
==============================================================================
--- branches/gnome-2-24/src/orca/tutorialgenerator.py	(original)
+++ branches/gnome-2-24/src/orca/tutorialgenerator.py	Sun Nov  2 00:54:49 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]