summaryrefslogtreecommitdiff
path: root/libmenu
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-13 14:04:09 -0200
committerPerberos <[email protected]>2011-12-13 14:04:09 -0200
commitaeba3dba1a0c531e1a01e2630d3f5da5723f60f0 (patch)
treebe92893a1d676affc76db494778907ff91647a58 /libmenu
parent05749d9bac6fec0e4db31dc9c361321a5ecb815f (diff)
downloadmate-menus-aeba3dba1a0c531e1a01e2630d3f5da5723f60f0.tar.bz2
mate-menus-aeba3dba1a0c531e1a01e2630d3f5da5723f60f0.tar.xz
fixing the missing read of /usr/share/mate/directory-menus
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/matemenu-tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmenu/matemenu-tree.c b/libmenu/matemenu-tree.c
index 683eb55..3a9497f 100644
--- a/libmenu/matemenu-tree.c
+++ b/libmenu/matemenu-tree.c
@@ -2102,6 +2102,11 @@ resolve_default_directory_dirs (MateMenuTree *tree,
i = 0;
while (system_data_dirs[i] != NULL)
{
+ /* Parche para tomar las carpetas /mate/ */
+ char* path = g_build_filename(system_data_dirs[i], "mate", NULL);
+ before = add_directory_dir(tree, before, path);
+ g_free(path);
+ /* /fin parche */
before = add_directory_dir (tree, before, system_data_dirs[i]);
++i;