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:
parent
1ccebab539
commit
e91606b25b
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue