Re: Window icon is not shown in gnome shell dash under wayland



On Sun, Dec 3, 2017 at 11:39 AM, rastersoft <raster rastersoft com> wrote:
Thanks. That explains the problem: the .desktop file differs from the
program because the program ends in .py :(

GNOME Shell does not *really* use the binary name to match .desktop
files, but the WM_CLASS (X11) or application-id (wayland) property.
GTK+ sets those from the program name, either determined automatically
or from the value specified by g_set_prgname() - that is, you should
be able to fix this issue by calling that function with an appropriate
value before creating the first window.

Cheers,
Florian


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]