diff options
author | Chris Lumens <clumens@redhat.com> | 2012-11-12 18:07:21 -0500 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2012-11-12 16:42:48 -0800 |
commit | ccf65d7a65956215e5cad998a9d732221f46020e (patch) | |
tree | d5b88186716365619eaf990e8949f27b9ec02e0e | |
parent | db1a079a7e97e955d7272cfdcde5202d6cefaec8 (diff) | |
download | anaconda-ccf65d7a65956215e5cad998a9d732221f46020e.tar.gz anaconda-ccf65d7a65956215e5cad998a9d732221f46020e.tar.xz anaconda-ccf65d7a65956215e5cad998a9d732221f46020e.zip |
Don't decorate error dialogs.
-rw-r--r-- | pyanaconda/ui/gui/__init__.py | 4 |
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) |