mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 17:50:10 +00:00
9f068866e2
It is our current coding style. |
||
---|---|---|
.. | ||
exampleapp.c | ||
exampleapp.h | ||
exampleapp.png | ||
exampleappwin.c | ||
exampleappwin.h | ||
main.c | ||
Makefile.example | ||
meson.build | ||
org.gtk.exampleapp.desktop | ||
README |
Step 1: A trivial application 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