[gnome-software] Set program name as the application ID
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Set program name as the application ID
- Date: Mon, 18 Nov 2019 13:30:45 +0000 (UTC)
commit 5afa4e00db943a8e1eda9a8abc6f9739b1ad04f7
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Oct 31 08:26:35 2019 +0100
Set program name as the application ID
This helps keeping the app's ID coherent.
Fixes https://source.puri.sm/Librem5/gnome-software/issues/9.
src/gs-main.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gs-main.c b/src/gs-main.c
index ec9c0a63..dcb3b359 100644
--- a/src/gs-main.c
+++ b/src/gs-main.c
@@ -27,6 +27,7 @@ main (int argc, char **argv)
g_autoptr(GsApplication) application = NULL;
g_autoptr(GsDebug) debug = gs_debug_new ();
+ g_set_prgname ("org.gnome.Software");
setlocale (LC_ALL, "");
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]