mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
d2430c70bd
Redo this series of examples from 2013, and adapt it to modern way of doing things. The biggest differences are that we use a headerbar right from the start, and don't mention the app menu. Fixes: #2730
12 lines
406 B
Plaintext
12 lines
406 B
Plaintext
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
|