summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py27
1 files changed, 16 insertions, 11 deletions
diff --git a/gui.py b/gui.py
index 5c8eb49ab..ae0206222 100755
--- a/gui.py
+++ b/gui.py
@@ -827,20 +827,25 @@ class InstallControlWindow:
# reload the glade file, although we're going to keep our toplevel
self.loadGlade()
- win = self.mainxml.get_widget("mainWindow")
- win.hide()
-
- # gtk reparenting leaves us with non-working buttons, so
- # do our own reparenting per the FAQ
- orig = self.window.get_child()
- child = win.get_child()
- win.remove(child)
- orig.hide() # don't flicker!
- self.window.remove(orig)
- self.window.add(child)
+# win = self.mainxml.get_widget("mainWindow")
+# win.hide()
+#
+# # gtk reparenting leaves us with non-working buttons, so
+# # do our own reparenting per the FAQ
+# orig = self.window.get_child()
+# child = win.get_child()
+# win.remove(child)
+# orig.hide() # don't flicker!
+# self.window.remove(orig)
+# self.window.add(child)
+
+ self.window.destroy()
+ self.window = self.mainxml.get_widget("mainWindow")
self.createWidgets()
self.connectSignals()
+ self.setScreen()
+ self.window.show()
def setLtR(self):
ltrrtl = gettext.dgettext("gtk20", "default:LTR")