From 4c694082c3d382d15e2b3375f36a8e540b4b723e Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Fri, 8 Jul 2011 16:16:40 +0000 Subject: iw/use_gui.py: ignore non-user-settable flags --- iw/use_gui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'iw') diff --git a/iw/use_gui.py b/iw/use_gui.py index a0f3e8c..06361f0 100644 --- a/iw/use_gui.py +++ b/iw/use_gui.py @@ -94,6 +94,7 @@ class UseWindow(InstallWindow): cb = gtk.CheckButton(label=flag) if flag in use_enabled: cb.set_active(True) + self.use_profile.append(flag) # ignore non-user-settable flags l = gtk.Label(use[flag]) l.set_alignment(0,0) @@ -103,7 +104,5 @@ class UseWindow(InstallWindow): self.buttons.append(cb) - self.use_profile = use_enabled - return self.align -- cgit v1.2.3-65-gdbad