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 f43212c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyanaconda/ui/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
gi.require_version("GdkPixbuf", "2.0")
gi.require_version("GObject", "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 +520,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 f43212c

Please sign in to comment.