aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-20 20:52:12 -0500
committerTed Gould <ted@canonical.com>2009-08-20 20:52:12 -0500
commitce045e0d41054c2ccf8c9e524a4997ea2ee38601 (patch)
treec25fb6dad34a2a9d4329575ffb5385039185b54f /src
parent33f40e13838d18687507145c98c1cae48c0bc033 (diff)
downloadayatana-indicator-messages-ce045e0d41054c2ccf8c9e524a4997ea2ee38601.tar.gz
ayatana-indicator-messages-ce045e0d41054c2ccf8c9e524a4997ea2ee38601.tar.bz2
ayatana-indicator-messages-ce045e0d41054c2ccf8c9e524a4997ea2ee38601.zip
Adding the user APPS directory to the places where we can find applications
Diffstat (limited to 'src')
-rw-r--r--src/messages-service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 0e4c296..8b9b5cb 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -818,9 +818,13 @@ main (int argc, char ** argv)
g_idle_add(blacklist_init, NULL);
g_idle_add(build_launchers, SYSTEM_APPS_DIR);
+ gchar * userdir = g_build_filename(g_get_user_config_dir(), USER_APPS_DIR, NULL);
+ g_idle_add(build_launchers, userdir);
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);
+ g_free(userdir);
+
return 0;
}