[gtk: 3/5] examples: Use appliction id as desktop file base name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 3/5] examples: Use appliction id as desktop file base name
- Date: Fri, 3 Aug 2018 02:11:24 +0000 (UTC)
commit 06e4c3c9913884331be01de848837c13f015de33
Author: Guido Günther <agx sigxcpu org>
Date: Thu Aug 2 11:03:41 2018 +0200
examples: Use appliction id as desktop file base name
docs/reference/gtk/getting_started.xml | 2 +-
examples/application1/README | 4 ++--
.../application1/{exampleapp.desktop => org.gtk.exampleapp.desktop} | 0
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/gtk/getting_started.xml b/docs/reference/gtk/getting_started.xml
index 036b9f471c..1808513419 100644
--- a/docs/reference/gtk/getting_started.xml
+++ b/docs/reference/gtk/getting_started.xml
@@ -388,7 +388,7 @@
</informalfigure>
<informalexample>
- <programlisting><xi:include href="../../../../examples/application1/exampleapp.desktop"
parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
+ <programlisting><xi:include href="../../../../examples/application1/org.gtk.exampleapp.desktop"
parse="text"><xi:fallback>MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
</informalexample>
<para>Note that <replaceable>@<!-- -->bindir@</replaceable> needs to be replaced
diff --git a/examples/application1/README b/examples/application1/README
index 4c4e75c4d9..739ecd967d 100644
--- a/examples/application1/README
+++ b/examples/application1/README
@@ -2,8 +2,8 @@ To make gnome-shell use the desktop file and icon for this example
while running it uninstalled, do the following:
mkdir -p ~/.local/share/applications
-sed -e "s#@bindir@#$PWD#" exampleapp.desktop \
- > ~/.local/share/applications/lt-exampleapp.desktop
+sed -e "s#@bindir@#$PWD#" org.gtk.exampleapp.desktop \
+ > ~/.local/share/applications/org.gtk.exampleapp.desktop
mkdir -p ~/.local/share/icons/hicolor/48x48/apps
cp exampleapp.png ~/.local/share/icons/hicolor/48x48/apps
diff --git a/examples/application1/exampleapp.desktop b/examples/application1/org.gtk.exampleapp.desktop
similarity index 100%
rename from examples/application1/exampleapp.desktop
rename to examples/application1/org.gtk.exampleapp.desktop
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]