[Xfce4-commits] <midori:master> Use actual data dir to store desktop shortcut

Christian Dywan noreply at xfce.org
Wed Jan 19 21:58:01 CET 2011


Updating branch refs/heads/master
         to 2f2e368b8a4f70f81ce88672d5b740ca72d85cf0 (commit)
       from 30cc8b06947c7f88d913842ddac61220cc1ee46b (commit)

commit 2f2e368b8a4f70f81ce88672d5b740ca72d85cf0
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jan 19 21:31:23 2011 +0100

    Use actual data dir to store desktop shortcut

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 60813d2..0e78307 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))



More information about the Xfce4-commits mailing list