gtk2/examples/application1
Emmanuele Bassi 9aae351487 examples: Clean up the standalone Makefiles
Do not hardcode GCC as the compiler; use $(shell) expansion instead of
backticks; split the built source into its own variable.
2015-05-26 18:01:39 +01:00
..
exampleapp.c
exampleapp.desktop Getting started: Add icon and desktop file 2013-07-24 07:31:05 -04:00
exampleapp.h
exampleapp.png Getting started: Add icon and desktop file 2013-07-24 07:31:05 -04:00
exampleappwin.c Make include order consistent in example applications 2014-11-28 23:57:16 -05:00
exampleappwin.h
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 examples: Clean up the standalone Makefiles 2015-05-26 18:01:39 +01: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