From 06e4c3c9913884331be01de848837c13f015de33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Thu, 2 Aug 2018 11:03:41 +0200 Subject: [PATCH] examples: Use appliction id as desktop file base name --- docs/reference/gtk/getting_started.xml | 2 +- examples/application1/README | 4 ++-- .../{exampleapp.desktop => org.gtk.exampleapp.desktop} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename examples/application1/{exampleapp.desktop => org.gtk.exampleapp.desktop} (100%) 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 @@ - MISSING XINCLUDE CONTENT + MISSING XINCLUDE CONTENT Note that @bindir@ 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