summaryrefslogtreecommitdiffstats
path: root/iw/account_gui.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-08-01 19:50:53 +0000
committerbfox <bfox>2001-08-01 19:50:53 +0000
commite90b39e70c0169a7fe99abbde454ae7d648b12b2 (patch)
tree90106e111b356142ef57108b8e33ba28e7786efb /iw/account_gui.py
parent0f7f5d440a1df1c009bd819de0bed548ecad9b32 (diff)
downloadanaconda-e90b39e70c0169a7fe99abbde454ae7d648b12b2.tar.gz
anaconda-e90b39e70c0169a7fe99abbde454ae7d648b12b2.tar.xz
anaconda-e90b39e70c0169a7fe99abbde454ae7d648b12b2.zip
deactivate user entry box in reconfig mode
Diffstat (limited to 'iw/account_gui.py')
-rw-r--r--iw/account_gui.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index f3d6aecce..06e98d813 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -17,6 +17,7 @@ from translate import _, N_
import re
import string
from gnome.ui import *
+from flags import flags
class AccountWindow (InstallWindow):
@@ -375,6 +376,13 @@ class AccountWindow (InstallWindow):
self.passwords[user] = password
index = index + 1
+ if flags.reconfig:
+ label.set_sensitive(FALSE)
+ self.userList.set_sensitive(FALSE)
+ self.add.set_sensitive(FALSE)
+ self.edit.set_sensitive(FALSE)
+ self.delete.set_sensitive(FALSE)
+
box.set_border_width (5)
return box