On Sun, Dec 3, 2017 at 11:39 AM, rastersoft <ras...@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
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to