[PATCH] Don't decorate the main exception window.

Vratislav Podzimek vpodzime at redhat.com
Fri Nov 2 19:24:14 UTC 2012


On Fri, 2012-11-02 at 14:52 -0400, Chris Lumens wrote:
> Note that we'll never be able to mark all the exception reporting windows as
> undecorated because those all come from libreport instead of us.  But this is
> at least a start.
> ---
>  pyanaconda/ui/gui/__init__.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
> index 5bf1453..7acf46d 100644
> --- a/pyanaconda/ui/gui/__init__.py
> +++ b/pyanaconda/ui/gui/__init__.py
> @@ -152,6 +152,7 @@ class GraphicalUserInterface(UserInterface):
>  
>          meh_intf = meh.ui.gui.GraphicalIntf()
>          exc_window = meh_intf.mainExceptionWindow(text, exn_file)
> +        exc_window.main_window.set_decorated(False)
>  
>          # exception may appear before self._actions gets populated
>          if len(self._actions) > 0:
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list