Set prgname to application ID

Using the application ID ensures that Wayland compositors could match the
window with the application and show the appropriate icon for them.
This commit is contained in:
Balló György 2024-09-03 16:50:08 +00:00
parent 1ccebab539
commit e91606b25b

View file

@ -359,6 +359,7 @@ public class Application.Client : Gtk.Application {
public override void startup() { public override void startup() {
Environment.set_application_name(NAME); Environment.set_application_name(NAME);
Environment.set_prgname(APP_ID);
Util.I18n.init(GETTEXT_PACKAGE, this.binary); Util.I18n.init(GETTEXT_PACKAGE, this.binary);
Util.Date.init(); Util.Date.init();