]> spindle.queued.net Git - midori/commitdiff
Use actual data dir to store desktop shortcut
authorChristian Dywan <christian@twotoasts.de>
Wed, 19 Jan 2011 20:31:23 +0000 (21:31 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 19 Jan 2011 20:31:23 +0000 (21:31 +0100)
midori/midori-browser.c

index 60813d2f16a9e34df8eca99c05648a8f0b5665ea..0e78307dd61fe30ca54be3b50338ce73745dd46d 100644 (file)
@@ -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))