]> git.sur5r.net Git - glabels/commit
Use g_get_user_config_dir() to locate custom templates.
authorJim Evins <evins@snaught.com>
Sun, 16 May 2010 03:42:38 +0000 (23:42 -0400)
committerJim Evins <evins@snaught.com>
Sun, 16 May 2010 03:46:33 +0000 (23:46 -0400)
commita4d7958651c3cd53424b8ca74b314b8bd71a055f
tree74844a433a531bbbb0eb634544fb8b85fbc09f4f
parenta8fe0a4371351910d70fc66f71b347ba904fafa0
Use g_get_user_config_dir() to locate custom templates.

Use g_get_user_config_dir() to locate custom template.  By default this
means that custom templates will be stored at ~/.config/libglabels/templates
instead of ~/.glabels.

Also automatically migrate user custom templates to the new location when
run for the first time.
libglabels/Makefile.am
libglabels/db.c
libglabels/libglabels-private.h