diff options
author | pnfisher <pnfisher> | 1999-09-19 22:47:06 +0000 |
---|---|---|
committer | pnfisher <pnfisher> | 1999-09-19 22:47:06 +0000 |
commit | 2c6fb9d60dd9122d9d50e1654a83f92f730c7c1b (patch) | |
tree | 5faa406eb1bde9630e29336b382d5ce365b2867d | |
parent | 0b9542b1f63165f89c19d3bb511cd1d49abcf98e (diff) | |
download | anaconda-2c6fb9d60dd9122d9d50e1654a83f92f730c7c1b.tar.gz anaconda-2c6fb9d60dd9122d9d50e1654a83f92f730c7c1b.tar.xz anaconda-2c6fb9d60dd9122d9d50e1654a83f92f730c7c1b.zip |
Make moveto work.
-rw-r--r-- | iw/keyboard.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/iw/keyboard.py b/iw/keyboard.py index 4ae52a250..dcce3aa62 100644 --- a/iw/keyboard.py +++ b/iw/keyboard.py @@ -42,6 +42,9 @@ class KeyboardWindow (InstallWindow): a.set (0.0, 0.0, 0.0, 0.0) box.pack_start (a, FALSE) + def moveto (widget, *args): + widget.moveto (widget.selection[0], 0, 0.5, 0.5) + box.pack_start (GtkLabel (_("Model")), FALSE) sw = GtkScrolledWindow () # sw.set_border_width (5) @@ -56,6 +59,7 @@ class KeyboardWindow (InstallWindow): self.modelList.sort () self.modelList.connect ("select_row", self.select_row) self.modelList.columns_autosize () + self.modelList.connect_after ("draw", moveto) sw.add (self.modelList) box.pack_start (sw, TRUE) @@ -73,6 +77,7 @@ class KeyboardWindow (InstallWindow): self.layoutList.sort () self.layoutList.connect ("select_row", self.select_row) self.layoutList.columns_autosize () + self.layoutList.connect_after ("draw", moveto) sw.add (self.layoutList) box.pack_start (sw, TRUE) |