summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-02-17 20:26:09 +0000
committerMike Fulbright <msf@redhat.com>2003-02-17 20:26:09 +0000
commite64fe95f7d1f7fdc2bb81279e4c45fdba8f242a0 (patch)
tree1d8ec8a570da71f2ad2564f0f4b1664451f81fe4 /gui.py
parent920650ac62c5d92adbf421e323a88ed8c2ef5890 (diff)
downloadanaconda-e64fe95f7d1f7fdc2bb81279e4c45fdba8f242a0.tar.gz
anaconda-e64fe95f7d1f7fdc2bb81279e4c45fdba8f242a0.tar.xz
anaconda-e64fe95f7d1f7fdc2bb81279e4c45fdba8f242a0.zip
disable the effect of desensitizing the button bar of anaconda when release notes are launched. This had the bad side effect that if you popped up the relnotes during package selection, and didnt close it before packages had finished installing, when you did close the relnotes your Next button got desensitized. Will fix with a separate viewer app next release. Yeah I know this message is larger than the commit.
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py31
1 files changed, 23 insertions, 8 deletions
diff --git a/gui.py b/gui.py
index 1a4300b4e..1e6e78b00 100755
--- a/gui.py
+++ b/gui.py
@@ -825,17 +825,32 @@ class InstallControlWindow:
def relnotes_closed (self, *args):
self.textWin.destroy()
- for (icon, name, text, func) in self.stockButtons:
- if self.__dict__.has_key(name):
- self.__dict__[name].set_sensitive(self.relnotes_buttonstate[name])
+
+#
+# XXX - disabling this behavior for now due to bug where if you pop up
+# release notes during package selection, then close it after
+# package selection is done and install has moved to next screen,
+# the stockButtons get their state screwed up
+#
+# for (icon, name, text, func) in self.stockButtons:
+# if self.__dict__.has_key(name):
+# self.__dict__[name].set_sensitive(self.relnotes_buttonstate[name])
+ return
def releaseClicked (self, widget):
self.textWin = gtk.Dialog(parent=mainWindow, flags=gtk.DIALOG_MODAL)
- self.relnotes_buttonstate={}
- for (icon, name, text, func) in self.stockButtons:
- if self.__dict__.has_key(name):
- self.relnotes_buttonstate[name] = self.__dict__[name].get_property("sensitive")
- self.__dict__[name].set_sensitive(gtk.FALSE)
+
+
+#
+# XXX - disabling this behavior for now due to bug where if you pop up
+# release notes during package selection, then close it after
+# package selection is done and install has moved to next screen,
+# the stockButtons get their state screwed up
+# self.relnotes_buttonstate={}
+# for (icon, name, text, func) in self.stockButtons:
+# if self.__dict__.has_key(name):
+# self.relnotes_buttonstate[name] = self.__dict__[name].get_property("sensitive")
+# self.__dict__[name].set_sensitive(gtk.FALSE)
table = gtk.Table(3, 3, gtk.FALSE)
self.textWin.vbox.pack_start(table)