orca r4113 - in trunk: . src/orca



Author: wwalker
Date: Mon Aug 18 19:59:00 2008
New Revision: 4113
URL: http://svn.gnome.org/viewvc/orca?rev=4113&view=rev

Log:
Fix for bug #547774 - Possible small performance improvement for starting preferences


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	Mon Aug 18 19:59:00 2008
@@ -170,8 +170,6 @@
             gobject.TYPE_STRING,  # Text of the Key Binding Shown 2
             gobject.TYPE_BOOLEAN, # Key Modified by User
             gobject.TYPE_BOOLEAN) # Row with fields editable or not
-        self.keyBindView.set_model(self.keyBindingsModel)
-        self.keyBindView.set_headers_visible(True)
 
         # HANDLER - invisble column
         #
@@ -388,16 +386,19 @@
         column.set_resizable(True)
         column.set_sort_column_id(EDITABLE)
         self.keyBindView.append_column(column)
-
+        
         # Populates the treeview with all the keybindings:
         #
         self._populateKeyBindings()
 
-        self.keyBindView.show()
-
         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  = \



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