From 2f2e368b8a4f70f81ce88672d5b740ca72d85cf0 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 19 Jan 2011 21:31:23 +0100 Subject: [PATCH] Use actual data dir to store desktop shortcut --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))