[master 1/1] Set the window icon

dashea installerbot-noreply at redhat.com
Tue Nov 10 22:47:52 UTC 2015


From: David Shea <dshea at redhat.com>

Non-GNOME live window managers have a taskbar with an icon, and right
now that icon is the default window icon. fedora-logos already contains
an icon that we use for the liveinst launcher, so use it in this
context, too.
---
 pyanaconda/ui/gui/__init__.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py
index dc8e4f9..aaecc0f 100644
--- a/pyanaconda/ui/gui/__init__.py
+++ b/pyanaconda/ui/gui/__init__.py
@@ -396,6 +396,10 @@ def __init__(self, fullscreen):
         # inside the window, the titlebar text is redundant and should be disabled.
         self.set_title("")
 
+        # Set the icon used in the taskbar of window managers that have a taskbar
+        # The "anaconda" icon is part of fedora-logos
+        self.set_icon_name("anaconda")
+
         # Treat an attempt to close the window the same as hitting quit
         self.connect("delete-event", self._on_delete_event)
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/69bea95111d67ebfaa774792d807b2f917cdbba6


More information about the anaconda-patches mailing list