gtk2/examples/application1
2018-08-02 11:10:21 +02:00
..
exampleapp.c
exampleapp.h
exampleapp.png
exampleappwin.c
exampleappwin.h
main.c
Makefile.example examples: Fix Makefiles to use gtk4 for build 2018-05-07 22:29:32 +05:30
meson.build meson: examples: update 2017-05-03 15:10:53 +01:00
org.gtk.exampleapp.desktop examples: Use appliction id as desktop file base name 2018-08-02 11:10:21 +02:00
README examples: Use appliction id as desktop file base name 2018-08-02 11:10:21 +02: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#" 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