mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
9aae351487
Do not hardcode GCC as the compiler; use $(shell) expansion instead of backticks; split the built source into its own variable. |
||
---|---|---|
.. | ||
exampleapp.c | ||
exampleapp.desktop | ||
exampleapp.h | ||
exampleapp.png | ||
exampleappwin.c | ||
exampleappwin.h | ||
main.c | ||
Makefile.am | ||
Makefile.example | ||
README |
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