summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-06-09 19:48:14 +0000
committerMike Fulbright <msf@redhat.com>2000-06-09 19:48:14 +0000
commite74442a05d49b5537160f57434e79784377d6336 (patch)
treee6a2330d8ca4da0aa5efe9b1a4b4dd219706a017 /iw
parent90a2e33c70ccddfa02a93c4f9ad6f599c481e33e (diff)
downloadanaconda-e74442a05d49b5537160f57434e79784377d6336.tar.gz
anaconda-e74442a05d49b5537160f57434e79784377d6336.tar.xz
anaconda-e74442a05d49b5537160f57434e79784377d6336.zip
added scrollbar to user account screen for > 7 users
Diffstat (limited to 'iw')
-rw-r--r--iw/account_gui.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 342850c9b..cbb7fc3ed 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -285,12 +285,16 @@ class AccountWindow (InstallWindow):
box.pack_start (table, FALSE)
box.pack_start (bb, FALSE)
+ sw = GtkScrolledWindow ()
+ sw.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC)
+
self.userList = GtkCList (2, (_("Account Name"), _("Full Name")))
for x in range (2):
self.userList.set_selectable (x, FALSE)
self.userList.connect("select_row", self.userSelected)
- box.pack_start (self.userList, TRUE)
+ sw.add (self.userList)
+ box.pack_start (sw, TRUE)
index = 0
for (user, name, password) in self.todo.getUserList():