Dash:
[t2-trunk.git] / package / gnome / gdmap / 07-add-filetypes.patch
blob3996251f21a7e7fb4e406789e7955d485c078a0e
1 Description: Recognize more file extensions by default
2 Author: Andres Rodriguez <andreserl@ubuntu.com>
3 Origin: http://patches.ubuntu.com/g/gdmap/gdmap_0.8.1-1.1ubuntu1.patch
5 --- gdmap.orig/src/colors.c
6 +++ gdmap/src/colors.c
7 @@ -306,15 +306,14 @@
8 Colors = g_list_append(Colors, color_new(0x0f0f, 0xffff, 0xffff, COLOR_MARK2));
9 Colors = g_list_append(Colors, color_new(0x2222, 0x4444, 0x0000, COLOR_FOLDER));
11 - Colors = g_list_append(Colors, color_new_with_exts("#DD0000", "asf avi mpg mpeg wmv"));
12 - Colors = g_list_append(Colors, color_new_with_exts("#FF00FF", "exe"));
13 + Colors = g_list_append(Colors, color_new_with_exts("#DD0000", "asf avi mpg mpeg wmv mov"));
14 + Colors = g_list_append(Colors, color_new_with_exts("#FF00FF", "exe msi deb rpm run"));
15 Colors = g_list_append(Colors, color_new_with_exts("#BB00BB", "dll o lo a so"));
16 - Colors = g_list_append(Colors, color_new_with_exts("#00AA00", "c cc cpp"));
17 + Colors = g_list_append(Colors, color_new_with_exts("#00AA00", "c cc cpp py php php3 php4 php5 js sh bat"));
18 Colors = g_list_append(Colors, color_new_with_exts("#00FF00", "h hh"));
19 - Colors = g_list_append(Colors, color_new_with_exts("#EEEE00", "eps bmp svg gif png jpg jpeg tif tiff"));
20 - Colors = g_list_append(Colors, color_new_with_exts("#00DDDD", "mp3 ogg flac wav"));
21 -/* Colors = g_list_append(Colors, color_new_with_exts("#d8def1", "odp ods odt otp ots ott stc stw sxc sxi sxw")); */
22 - Colors = g_list_append(Colors, color_new_with_exts("#66aaff", "mdb doc pdf ps ppt txt po xsl xls xml html htm"));
23 + Colors = g_list_append(Colors, color_new_with_exts("#EEEE00", "eps bmp svg gif png jpg jpeg tif tiff xpm"));
24 + Colors = g_list_append(Colors, color_new_with_exts("#00DDDD", "mp3 ogg flac wav wma m4a"));
25 + Colors = g_list_append(Colors, color_new_with_exts("#66aaff", "mdb doc pdf ps ppt txt po pot xsl xls xml html htm odp ods otp ots ott stc stw sxc sxi sxw hlp tex"));
26 Colors = g_list_append(Colors, color_new_with_exts("#0000AA", "zip gz tgz rar bz2 7z"));