]> git.pld-linux.org Git - packages/rox.git/blob - rox-fix-mime-info-path.patch
615d739318f00abc6695002d8ca72bce7ee64d58
[packages/rox.git] / rox-fix-mime-info-path.patch
1 diff -ruN rox-1.3.4-/ROX-Filer/src/type.c rox-1.3.4/ROX-Filer/src/type.c
2 --- rox-1.3.4-/ROX-Filer/src/type.c     Mon Sep  2 17:33:21 2002
3 +++ rox-1.3.4/ROX-Filer/src/type.c      Sat Nov 30 01:07:06 2002
4 @@ -1004,6 +1004,10 @@
5         path = "/usr/share/mime/packages";
6         if (mc_stat(path, &info) == 0)
7                 filer_opendir(path, NULL, NULL);
8 +
9 +       path = "/usr/share/mime-info";
10 +       if (mc_stat(path, &info) == 0)
11 +               filer_opendir(path, NULL, NULL);
12  }
13  
14  static GList *build_type_edit(Option *none, xmlNode *node, guchar *label)
15 @@ -1218,6 +1222,7 @@
16  
17         import_file("/usr/share/mime/globs", globs);
18 +       import_file("/usr/share/mime-info/globs", globs);
19         import_file("/usr/local/share/mime/globs", globs);
20  
21         tmp = g_strconcat(home_dir, "/.mime/globs", NULL);
22         import_file(tmp, globs);
This page took 0.045275 seconds and 2 git commands to generate.