summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/__init__.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-11-12 18:07:21 -0500
committerBrian C. Lane <bcl@redhat.com>2012-11-12 16:42:48 -0800
commitccf65d7a65956215e5cad998a9d732221f46020e (patch)
treed5b88186716365619eaf990e8949f27b9ec02e0e /pyanaconda/ui/gui/__init__.py
parentdb1a079a7e97e955d7272cfdcde5202d6cefaec8 (diff)
downloadanaconda-ccf65d7a65956215e5cad998a9d732221f46020e.tar.gz
anaconda-ccf65d7a65956215e5cad998a9d732221f46020e.tar.xz
anaconda-ccf65d7a65956215e5cad998a9d732221f46020e.zip
Don't decorate error dialogs.
Diffstat (limited to 'pyanaconda/ui/gui/__init__.py')
-rw-r--r--pyanaconda/ui/gui/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
index 90e0e7389..9e15abbdd 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)