summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-08-02 11:03:41 +0200
committerGuido Günther <agx@sigxcpu.org>2018-08-02 11:10:21 +0200
commit06e4c3c9913884331be01de848837c13f015de33 (patch)
treef62481c0afadaa93f79d2814a6b4af313e138851
parentf25f3b3c47db97686f7ad396f16ad7d4976f089f (diff)
downloadgtk+-06e4c3c9913884331be01de848837c13f015de33.tar.gz
examples: Use appliction id as desktop file base name
-rw-r--r--docs/reference/gtk/getting_started.xml2
-rw-r--r--examples/application1/README4
-rw-r--r--examples/application1/org.gtk.exampleapp.desktop (renamed from examples/application1/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
index 8deddfe22d..8deddfe22d 100644
--- a/examples/application1/exampleapp.desktop
+++ b/examples/application1/org.gtk.exampleapp.desktop