From: Christian Dywan Date: Wed, 19 Jan 2011 20:31:23 +0000 (+0100) Subject: Use actual data dir to store desktop shortcut X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2e368b8a4f70f81ce88672d5b740ca72d85cf0;p=midori Use actual data dir to store desktop shortcut --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 60813d2f..0e78307d 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -2221,7 +2221,7 @@ _action_add_desktop_shortcut_activate (GtkAction* action, filename[i] = '_'; i++; } - app_dir = g_build_filename (g_get_home_dir (), ".local", "share", + app_dir = g_build_filename (g_get_user_data_dir (), "applications", filename, NULL); app_icon = katze_net_get_cached_path (NULL, icon_uri, "icons"); if (!g_file_test (app_icon, G_FILE_TEST_EXISTS))