[gedit] gedit: Set prgname
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] gedit: Set prgname
- Date: Fri, 14 Dec 2018 16:20:58 +0000 (UTC)
commit adfd72df33d81640b9644a15339a50318e809abe
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Fri Dec 14 11:01:21 2018 -0500
gedit: Set prgname
https://honk.sigxcpu.org/con/GTK__and_the_application_id.html
gedit/gedit.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gedit/gedit.c b/gedit/gedit.c
index 6c330c234..42c37412e 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -143,6 +143,10 @@ main (int argc, char *argv[])
"flags", G_APPLICATION_HANDLES_COMMAND_LINE | G_APPLICATION_HANDLES_OPEN,
NULL);
+
+ /* https://honk.sigxcpu.org/con/GTK__and_the_application_id.html */
+ g_set_prgname("org.gnome.gedit");
+
status = g_application_run (G_APPLICATION (app), argc, argv);
/* Break reference cycles caused by the PeasExtensionSet
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]