summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-01 23:32:16 +0000
committerMatt Wilson <msw@redhat.com>1999-09-01 23:32:16 +0000
commitf4ce2e52a28014ee15c1d9764e19f1fda9539feb (patch)
tree265e38dd09468dc59e96df5de1d6e770cdf2456b /iw
parentbbec0ee1f07785dec51edca5319557a13180de0a (diff)
downloadanaconda-f4ce2e52a28014ee15c1d9764e19f1fda9539feb.tar.gz
anaconda-f4ce2e52a28014ee15c1d9764e19f1fda9539feb.tar.xz
anaconda-f4ce2e52a28014ee15c1d9764e19f1fda9539feb.zip
this works
Diffstat (limited to 'iw')
-rw-r--r--iw/xconfig.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/iw/xconfig.py b/iw/xconfig.py
index 059ac44ca..25ac32a05 100644
--- a/iw/xconfig.py
+++ b/iw/xconfig.py
@@ -36,6 +36,17 @@ class XCustomWindow (InstallWindow):
self.todo.x.modes = newmodes
+ def testPressed (self, widget, *args):
+ try:
+ self.todo.x.test ()
+ except RuntimeError:
+ ### test failed window
+ pass
+ else:
+ self.didTest = 1
+
+ self.setNext ()
+
def getScreen (self):
box = GtkVBox (FALSE, 5)
box.set_border_width (5)
@@ -57,7 +68,14 @@ class XCustomWindow (InstallWindow):
hbox.pack_start (vbox)
+
+ test = GtkAlignment ()
+ button = GtkButton (_("Test this configuration"))
+ button.connect ("pressed", self.testPressed)
+ test.add (button)
+
box.pack_start (hbox, FALSE)
+ box.pack_start (test, FALSE)
return box
def getPrev (self):