[anaconda 1/3] Maximize anaconda instead of running fullscreen (#1164457)
Vratislav Podzimek
vpodzime at redhat.com
Wed Jan 14 07:43:26 UTC 2015
On Tue, 2015-01-13 at 17:07 -0500, David Shea wrote:
> A fullscreen anaconda is inconvenient when running outside of the
> regular installer media, since on Live installs some things are only
> configurable in the desktop environment, and on dir and image installs
> you might have other things to do while anaconda is running. Instead,
> maximize anaconda and use the hide-titlebar-when-maximized property to
> hide the titlebar on window manager that support it, which is really
> just GNOME.
> ---
> pyanaconda/ui/gui/__init__.py | 25 +++++++------------------
> 1 file changed, 7 insertions(+), 18 deletions(-)
>
> diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
> index bd6941d..40a7375 100644
> --- a/pyanaconda/ui/gui/__init__.py
> +++ b/pyanaconda/ui/gui/__init__.py
> @@ -271,6 +271,11 @@ class MainWindow(Gtk.Window):
> def __init__(self):
> Gtk.Window.__init__(self)
>
> + # Hide the titlebar when maximized if the window manager allows it.
> + # This makes anaconda look full-screenish but without covering parts
> + # needed to interact with the window manager, like the GNOME top bar.
> + self.set_hide_titlebar_when_maximized(True)
So for Xfce, MATE, KDE (not Cinnamon, right?) this means there will be a
title bar? Is it an issue? Honestly, I never understood why we fight the
title bar in live environments.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list