gtk/examples/application1
Mohammed Sadiq 22ae9d0884 examples: use G_DECLARE_FINAL_TYPE in applications
G_DECLARE_FINAL_TYPE was introduced in glib 2.44.
We shall use that now so that lots of boilerplate code can
be reduced.

https://bugzilla.gnome.org/show_bug.cgi?id=770278
2016-09-10 09:01:08 -04:00
..
exampleapp.c examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleapp.desktop Getting started: Add icon and desktop file 2013-07-24 07:31:05 -04:00
exampleapp.h examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleapp.png Getting started: Add icon and desktop file 2013-07-24 07:31:05 -04:00
exampleappwin.c examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleappwin.h examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
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 Fix example Makefiles 2016-07-03 13:54:11 -04: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