[PATCH 3/3] Add main_window property to the MainExceptionWindow
Vratislav Podzimek
vpodzime at redhat.com
Mon Aug 20 13:41:22 UTC 2012
It's needed in Anaconda for adding the window to a Gtk.WindowGroup.
---
meh/ui/gui.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meh/ui/gui.py b/meh/ui/gui.py
index b23fa89..fd19466 100644
--- a/meh/ui/gui.py
+++ b/meh/ui/gui.py
@@ -86,6 +86,10 @@ class MainExceptionWindow(AbstractMainExceptionWindow):
self._traceback_buffer.set_text(longTraceback)
self._response = MAIN_RESPONSE_QUIT
+ @property
+ def main_window(self):
+ return self._main_window
+
def destroy(self, *args, **kwargs):
self._main_window.destroy()
--
1.7.11.2
More information about the anaconda-patches
mailing list