Revert change to HUD_main window

This commit is contained in:
Worros 2010-06-21 18:44:04 +08:00
parent cf4e80cfa3
commit 77211cd4be

View File

@ -98,11 +98,7 @@ class HUD_main(object):
self.main_window = gtk.Window() self.main_window = gtk.Window()
self.main_window.connect("destroy", self.destroy) self.main_window.connect("destroy", self.destroy)
self.vb = gtk.VBox() self.vb = gtk.VBox()
#in .exe version, closing HUD_main window causes window lockup self.label = gtk.Label('Closing this window will exit from the HUD.')
#until next update cycle (i.e. cannot get focus on poker window while locked)
#temporary workaround to disable close button until fix is found
self.main_window.set_deletable(False)
self.label = gtk.Label(' To close, use "Stop Autoimport" in FPDB.')
self.vb.add(self.label) self.vb.add(self.label)
self.main_window.add(self.vb) self.main_window.add(self.vb)
self.main_window.set_title("HUD Main Window") self.main_window.set_title("HUD Main Window")