--- system-config-keyboard-1.2.5/src/keyboard_gui.py~	2005-04-01 15:10:53.733174568 +1000
+++ system-config-keyboard-1.2.5/src/keyboard_gui.py	2005-04-01 15:10:58.500449832 +1000
@@ -78,7 +78,7 @@ def scrollToIdleHandler((view, store, id
 
     path = store.get_path(iter)
     col = view.get_column(0)
-    view.scroll_to_cell(path, col, gtk.TRUE, 0.5, 0.5)
+    view.scroll_to_cell(path, col, True, 0.5, 0.5)
 
     if id:
 	gtk.idle_remove(id)
@@ -137,7 +137,7 @@ class KeyboardWindow(FirstbootGuiWindow)
         self.modelView = gtk.TreeView(self.modelStore)
         self.col = gtk.TreeViewColumn(None, gtk.CellRendererText(), text=1)
         self.modelView.append_column(self.col)
-        self.modelView.set_property("headers-visible", gtk.FALSE)
+        self.modelView.set_property("headers-visible", False)
         self.modelView.get_selection().set_mode(gtk.SELECTION_BROWSE)
 
         selection = self.modelView.get_selection()
@@ -147,8 +147,8 @@ class KeyboardWindow(FirstbootGuiWindow)
         while iter is not None:
             if self.modelStore.get_value(iter, 0) == default:
                 path = self.modelStore.get_path(iter)
-                self.modelView.set_cursor(path, self.col, gtk.FALSE)
-                self.modelView.scroll_to_cell(path, self.col, gtk.TRUE,
+                self.modelView.set_cursor(path, self.col, False)
+                self.modelView.scroll_to_cell(path, self.col, True,
                                               0.5, 0.5)
                 break
             iter = self.modelStore.iter_next(iter)
@@ -175,7 +175,7 @@ class KeyboardWindow(FirstbootGuiWindow)
             self.icon.set_from_pixbuf(p)
 
         self.myVbox = gtk.VBox()
-        self.myVbox.pack_start(self.modelViewSW, gtk.TRUE)
+        self.myVbox.pack_start(self.modelViewSW, True)
 
 	setupTreeViewFixupIdleHandler(self.modelView,
 				      self.modelView.get_model())
@@ -211,7 +211,7 @@ class KeyboardWindow(FirstbootGuiWindow)
         label = gtk.Label(_(self.shortMessage))
         label.set_alignment(0.0, 0.5)
         label.set_size_request(500, -1)
-        self.myVbox.pack_start(label, gtk.FALSE)
+        self.myVbox.pack_start(label, False)
         self.myVbox.reorder_child(label, 0)
         self.myVbox.set_spacing(10)
         self.myVbox.set_border_width(10)
