1 commit e5780aa96ee901a4b6747a8d3c1472e956fee305
2 Author: Mike Massonnet <mmassonnet@xfce.org>
3 Date: Sun Feb 7 14:39:55 2010 +0100
5 Allow slashes in the application name (bug #3995).
7 diff --git a/settings/xfae-model.c b/settings/xfae-model.c
8 index e7a4b85..dcc6098 100644
9 --- a/settings/xfae-model.c
10 +++ b/settings/xfae-model.c
11 @@ -629,6 +629,7 @@ xfae_model_add (XfaeModel *model,
13 ? g_strdup_printf ("%s.desktop", name)
14 : g_strdup_printf ("%s-%u.desktop", name, n);
15 + file = g_strdelimit (file, G_DIR_SEPARATOR_S, '-'); /* not a copy */
17 g_snprintf (relpath, 4096, "%s%s", dir, file);
18 if (!g_file_test (relpath, G_FILE_TEST_IS_REGULAR))