Use actual data dir to store desktop shortcut
This commit is contained in:
parent
30cc8b0694
commit
2f2e368b8a
1 changed files with 1 additions and 1 deletions
|
@ -2221,7 +2221,7 @@ _action_add_desktop_shortcut_activate (GtkAction* action,
|
||||||
filename[i] = '_';
|
filename[i] = '_';
|
||||||
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);
|
"applications", filename, NULL);
|
||||||
app_icon = katze_net_get_cached_path (NULL, icon_uri, "icons");
|
app_icon = katze_net_get_cached_path (NULL, icon_uri, "icons");
|
||||||
if (!g_file_test (app_icon, G_FILE_TEST_EXISTS))
|
if (!g_file_test (app_icon, G_FILE_TEST_EXISTS))
|
||||||
|
|
Loading…
Reference in a new issue