[PATCH 1/3] Don't decorate error dialogs.
Chris Lumens
clumens at redhat.com
Mon Nov 12 23:07:21 UTC 2012
---
pyanaconda/ui/gui/__init__.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
index 90e0e73..9e15abb 100644
--- a/pyanaconda/ui/gui/__init__.py
+++ b/pyanaconda/ui/gui/__init__.py
@@ -128,8 +128,9 @@ class GraphicalUserInterface(UserInterface):
message_type=Gtk.MessageType.ERROR,
buttons=Gtk.ButtonsType.NONE,
message_format=message)
+ dlg.set_decorated(False)
dlg.add_button(_("_Exit Installer"), 0)
-
+
with enlightbox(self._actions[0].window, dlg):
dlg.run()
dlg.destroy()
@@ -141,6 +142,7 @@ class GraphicalUserInterface(UserInterface):
message_type=Gtk.MessageType.QUESTION,
buttons=Gtk.ButtonsType.NONE,
message_format=message)
+ dlg.set_decorated(False)
dlg.add_buttons(_("_No"), 0, _("_Yes"), 1)
dlg.set_default_response(1)
--
1.7.11.2
More information about the anaconda-patches
mailing list