[gnome-clocks: 1/2] Set the prgname to be the app ID
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks: 1/2] Set the prgname to be the app ID
- Date: Sun, 10 Nov 2019 17:25:45 +0000 (UTC)
commit 97bf4f849db633e5449fe38fb6f616d6048cf4ba
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Oct 25 11:24:01 2019 +0200
Set the prgname to be the app ID
This ensures window icons show up as expected in shells.
Fixes https://source.puri.sm/Librem5/gnome-clocks/issues/10.
src/main.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/main.vala b/src/main.vala
index 3a132d4..e966304 100644
--- a/src/main.vala
+++ b/src/main.vala
@@ -17,6 +17,7 @@
*/
int main (string[] args) {
+ Environment.set_prgname (Config.APP_ID);
Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR);
Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
Intl.textdomain (Config.GETTEXT_PACKAGE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]