]>
Commit | Line | Data |
---|---|---|
404e468c | 1 | diff -urN aa/desktop-file-utils-0.7/src/menu-process.c desktop-file-utils-0.7/src/menu-process.c |
2 | --- aa/desktop-file-utils-0.7/src/menu-process.c 2004-07-25 23:08:53.876735744 +0200 | |
3 | +++ desktop-file-utils-0.7/src/menu-process.c 2004-07-26 00:30:05.416149184 +0200 | |
4 | @@ -226,6 +226,23 @@ | |
5 | ||
6 | ++i; | |
7 | } | |
8 | + | |
9 | + MenuNode *mn; | |
10 | + char *fx; | |
11 | + | |
12 | + mn = menu_node_new (MENU_NODE_APP_DIR); | |
13 | + fx = g_build_filename (g_get_home_dir(), | |
14 | + ".gnome2/vfolders/applications", | |
15 | + NULL); | |
16 | + menu_node_set_content (mn, fx); | |
17 | + menu_node_insert_before (node, mn); | |
18 | + | |
19 | + menu_verbose ("Adding <AppDir>%s</AppDir> in <DefaultAppDirs/>\n", | |
20 | + fx); | |
21 | + | |
22 | + g_free (fx); | |
23 | + menu_node_unref (mn); | |
24 | + | |
25 | ||
26 | /* remove the now-replaced node */ | |
27 | menu_node_unlink (node); |