Add *.desktop as extension for the Conf filetype.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3445 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-01-04 18:24:50 +00:00
parent d007adc71f
commit 42578efd22
3 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,8 @@
src/filetypes.h, src/highlighting.c, src/plugindata.h:
Add filetype Ada (closes #1811306 and #1765830,
patch by Philipp Gildein, thanks).
* src/filetypes.c, data/filetype_extensions.conf:
Add *.desktop as extension for the Conf filetype.
2009-01-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -5,7 +5,7 @@
#See Geany's main documentation for details.
[Extensions]
ASM=*.asm;
ADA=*.adb;*.ads;
Ada=*.adb;*.ads;
C=*.c;*.h;
C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;
C#=*.cs;
@ -39,7 +39,7 @@ Docbook=*.docbook;
HTML=*.htm;*.html;*.shtml;*.hta;*.htd;*.htt;*.cfm;
XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd;*.xhtml;
CMake=CMakeLists.txt;*.cmake;*.ctest;
Conf=*.conf;*.ini;config;*rc;*.cfg;
Conf=*.conf;*.ini;config;*rc;*.cfg;*.desktop;
Diff=*.diff;*.patch;*.rej;
NSIS=*.nsi;*.nsh;
Po=*.po;*.pot;

View File

@ -456,7 +456,7 @@ static void init_builtin_filetypes(void)
ft->title = g_strdup(_("Config file"));
ft->extension = g_strdup("conf");
ft->pattern = utils_strv_new("*.conf", "*.ini", "config", "*rc",
"*.cfg", NULL);
"*.cfg", "*.desktop", NULL);
ft->comment_open = g_strdup("#");
ft->comment_close = NULL;
ft->group = GEANY_FILETYPE_GROUP_MISC;