summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-02-14 21:27:58 +0000
committerbfox <bfox>2001-02-14 21:27:58 +0000
commita9e42a3249c6c19ea67ec352108d28a5e7e4af9d (patch)
tree5dc87ed8aefc70aaa70780e9eedc153e6ebee1c2 /gui.py
parent2a8ce65dafc5ed899ccc73ce20517bf19b198c89 (diff)
downloadanaconda-a9e42a3249c6c19ea67ec352108d28a5e7e4af9d.tar.gz
anaconda-a9e42a3249c6c19ea67ec352108d28a5e7e4af9d.tar.xz
anaconda-a9e42a3249c6c19ea67ec352108d28a5e7e4af9d.zip
fixed release notes popup problem
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index b595e520c..a058a7cce 100755
--- a/gui.py
+++ b/gui.py
@@ -505,14 +505,19 @@ class InstallControlWindow:
self.hbox.reorder_child (self.hideHelpButton, 0)
self.displayHelp = TRUE
+
+ def close (self, args):
+ self.textWin.destroy()
+ self.releaseButton.set_sensitive(TRUE)
+
def releaseClicked (self, widget):
self.textWin = GnomeDialog ()
- self.textWin.set_modal (TRUE)
+ self.releaseButton.set_sensitive(FALSE)
table = GtkTable(3, 3, FALSE)
self.textWin.vbox.pack_start(table)
self.textWin.append_button(_("Close"))
- self.textWin.button_connect (0, self.textWin.destroy)
+ self.textWin.button_connect (0, self.close)
vbox1 = GtkVBox ()
vbox1.set_border_width (10)
@@ -550,8 +555,6 @@ class InstallControlWindow:
label = GtkLabel(_("Unable to load file!"))
table.attach (label, 1, 2, 1, 2, FILL|EXPAND, FILL|EXPAND, 5, 5)
-# vbox1.pack_start(label, FALSE, FALSE)
-# vbox1.pack_start(closeButton, FALSE, FALSE)
self.textWin.set_border_width(0)
self.textWin.show_all()