[krb5-auth-dialog: 13/15] Set proper app_id
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog: 13/15] Set proper app_id
- Date: Sat, 6 Feb 2021 19:16:58 +0000 (UTC)
commit 6ee4ec505782e416b98a3379339f8f2ea9b2899d
Author: Guido Günther <agx sigxcpu org>
Date: Sat Feb 6 19:37:36 2021 +0100
Set proper app_id
See https://honk.sigxcpu.org/con/archive/2018/08/ - can be dropped
once we switch to GTK4.
src/ka-applet-priv.h | 1 +
src/ka-applet.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/ka-applet-priv.h b/src/ka-applet-priv.h
index 67fb601..0ef7f0d 100644
--- a/src/ka-applet-priv.h
+++ b/src/ka-applet-priv.h
@@ -32,6 +32,7 @@
G_BEGIN_DECLS
#define KA_NAME _("Kerberos Authentication")
+#define KA_APP_ID "org.gnome.KrbAuthDialog"
/* signals emitted by KaApplet */
typedef enum {
diff --git a/src/ka-applet.c b/src/ka-applet.c
index 8ebd371..73d752e 100644
--- a/src/ka-applet.c
+++ b/src/ka-applet.c
@@ -562,7 +562,7 @@ static KaApplet *
ka_applet_new (void)
{
return g_object_new (KA_TYPE_APPLET,
- "application-id", "org.gnome.KrbAuthDialog",
+ "application-id", KA_APP_ID,
NULL);
}
@@ -848,6 +848,7 @@ main (int argc, char *argv[])
bind_textdomain_codeset (PACKAGE, "UTF-8");
bindtextdomain (PACKAGE, LOCALE_DIR);
+ g_set_prgname (KA_APP_ID);
g_set_application_name (KA_NAME);
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]