orca r3851 - in branches/gnome-2-22: . src/orca



Author: richb
Date: Mon Apr 28 14:52:04 2008
New Revision: 3851
URL: http://svn.gnome.org/viewvc/orca?rev=3851&view=rev

Log:
        * src/orca/app_gui_prefs.py:
          Fixed bug #523731 - Pidgin events interfere with app-specific
          Prefs dialog.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/orca/app_gui_prefs.py

Modified: branches/gnome-2-22/src/orca/app_gui_prefs.py
==============================================================================
--- branches/gnome-2-22/src/orca/app_gui_prefs.py	(original)
+++ branches/gnome-2-22/src/orca/app_gui_prefs.py	Mon Apr 28 14:52:04 2008
@@ -94,7 +94,7 @@
 
         vbox = self.appScript.getAppPreferencesGUI()
         if vbox:
-            label = gtk.Label(orca_state.locusOfFocus.getApplication().name)
+            label = gtk.Label(orca_state.activeScript.app.name)
             self.get_widget("notebook").append_page(vbox, label)
 
     def _createPronunciationTreeView(self, pronunciations=None):
@@ -118,7 +118,7 @@
         # Adjust the title of the app-specific Orca Preferences dialog to
         # include the name of the application.
         #
-        self.app = orca_state.locusOfFocus.getApplication()
+        self.app = orca_state.activeScript.app
         self.applicationName = self.app.name 
         title = _("Orca Preferences for %s") % self.applicationName
         self.get_widget("orcaSetupWindow").set_title(title)
@@ -294,7 +294,7 @@
 
     # The name of the application that currently has focus.
     #
-    applicationName = orca_state.locusOfFocus.getApplication().name
+    applicationName = orca_state.activeScript.app.name
 
     removeGeneralPane = False
     if not orca_state.appOS and not orca_state.orcaOS:



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