gtk3/examples/application1
Nirbheek Chauhan 8ec004cc08 Import meson build files from an 3.22
Specifically, from 6dd6660c685d22e88af5ed4d0b5f1f22df0338de
2019-04-11 16:40:33 +02:00
..
exampleapp.c examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleapp.desktop Getting started: Add icon and desktop file 2013-07-24 07:31:05 -04:00
exampleapp.h examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleapp.png Getting started: Add icon and desktop file 2013-07-24 07:31:05 -04:00
exampleappwin.c examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleappwin.h examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
main.c Make include order consistent in example applications 2014-11-28 23:57:16 -05:00
Makefile.am Beautify example Makefiles a bit 2014-11-29 00:26:52 -05:00
Makefile.example Fix example Makefiles 2016-07-03 13:54:11 -04:00
meson.build Import meson build files from an 3.22 2019-04-11 16:40:33 +02:00
README Getting started: Add icon and desktop file 2013-07-24 07:31:05 -04:00

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

mkdir -p ~/.local/share/icons/hicolor/48x48/apps
cp exampleapp.png ~/.local/share/icons/hicolor/48x48/apps