orca r4342 - in trunk: . src/orca



Author: wwalker
Date: Tue Nov 18 18:44:00 2008
New Revision: 4342
URL: http://svn.gnome.org/viewvc/orca?rev=4342&view=rev

Log:
Fix for bug #508675 - Applying chang in Orca preference dialog is a little bit slow.


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

Modified: trunk/src/orca/orca_gui_prefs.py
==============================================================================
--- trunk/src/orca/orca_gui_prefs.py	(original)
+++ trunk/src/orca/orca_gui_prefs.py	Tue Nov 18 18:44:00 2008
@@ -394,11 +394,6 @@
         self.window = self.widgets.get_widget("orcaSetupWindow")
         self.window.resize(790, 580)
 
-        self.keyBindView.set_model(self.keyBindingsModel)
-        self.keyBindView.set_headers_visible(True)
-        self.keyBindView.expand_all()
-        self.keyBindView.show()
-
         self._setKeyEchoItems()
 
         self.speechSystemsModel  = \
@@ -2225,6 +2220,10 @@
         - clearModel: if True, initially clear out the key bindings model.
         """
 
+        self.keyBindView.set_model(None)
+        self.keyBindView.set_headers_visible(False)
+        self.keyBindView.hide_all()
+        self.keyBindView.hide()
         if clearModel:
             self.keyBindingsModel.clear()
             self.kbindings = None
@@ -2276,8 +2275,11 @@
             handl = defScript.getInputEventHandlerKey(inputEvHand)
             self._insertRowBraille(handl, com, inputEvHand, iterBB)
 
+        self.keyBindView.set_model(self.keyBindingsModel)
+        self.keyBindView.set_headers_visible(True)
         self.keyBindView.expand_all()
         self.keyBindingsModel.set_sort_column_id(OLDTEXT1, gtk.SORT_ASCENDING)
+        self.keyBindView.show()
 
         # Keep track of new/unbound keybindings that have yet to be applied.
         #



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