Skip to content

Commit

Permalink
Show correct taskbar icon in Wayland
Browse files Browse the repository at this point in the history
Gdk on Wayland uses prgname as the app id.
Set it to match the desktop filename.
  • Loading branch information
aleasto committed Nov 22, 2024
1 parent 67c71df commit 6c3cd7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyanaconda/ui/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
gi.require_version("AnacondaWidgets", "3.4")
gi.require_version("GdkPixbuf", "2.0")
gi.require_version("GObject", "2.0")
gi.require_version("GLib", "2.0")

from gi.repository import Gdk, Gtk, AnacondaWidgets, GdkPixbuf, GObject
from gi.repository import Gdk, Gtk, AnacondaWidgets, GdkPixbuf, GObject, GLib

from pyanaconda.flags import flags
from pyanaconda.core.i18n import _, C_
Expand Down Expand Up @@ -520,6 +521,7 @@ def __init__(self, storage, payload,

self.data = None

GLib.set_prgname("liveinst") # matches liveinst.desktop filename
self.mainWindow = MainWindow(fullscreen=fullscreen, decorated=False)

self._distributionText = distributionText
Expand Down

0 comments on commit 6c3cd7f

Please sign in to comment.