[gtk: 2/5] docs: Explain desktop file id == application_id in migration guide
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 2/5] docs: Explain desktop file id == application_id in migration guide
- Date: Fri, 3 Aug 2018 02:11:19 +0000 (UTC)
commit f25f3b3c47db97686f7ad396f16ad7d4976f089f
Author: Guido Günther <agx sigxcpu org>
Date: Thu Aug 2 11:03:41 2018 +0200
docs: Explain desktop file id == application_id in migration guide
docs/reference/gtk/migrating-3to4.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/docs/reference/gtk/migrating-3to4.xml b/docs/reference/gtk/migrating-3to4.xml
index cd113bb79b..6532974d3c 100644
--- a/docs/reference/gtk/migrating-3to4.xml
+++ b/docs/reference/gtk/migrating-3to4.xml
@@ -177,6 +177,22 @@
</para>
</section>
+ <section>
+ <title>Set a proper app_id</title>
+ <para>
+ In GTK+4 we want the application's #GApplication
+ 'application-id' (and therefore the D-Bus name), the desktop
+ file basename and Wayland's xdg-shell app_id to match. In
+ order to achieve this with GTK+3 call g_set_prgname() with the same
+ application id you passed to #GtkApplication. Rename your
+ desktop files to match the application id if needed.
+ </para>
+ <para>
+ The call to g_set_prgname() can be removed once you fully migrated
+ to GTK+4.
+ </para>
+ </section>
+
</section>
<section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]