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:
parent
d007adc71f
commit
42578efd22
@ -6,6 +6,8 @@
|
|||||||
src/filetypes.h, src/highlighting.c, src/plugindata.h:
|
src/filetypes.h, src/highlighting.c, src/plugindata.h:
|
||||||
Add filetype Ada (closes #1811306 and #1765830,
|
Add filetype Ada (closes #1811306 and #1765830,
|
||||||
patch by Philipp Gildein, thanks).
|
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>
|
2009-01-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#See Geany's main documentation for details.
|
#See Geany's main documentation for details.
|
||||||
[Extensions]
|
[Extensions]
|
||||||
ASM=*.asm;
|
ASM=*.asm;
|
||||||
ADA=*.adb;*.ads;
|
Ada=*.adb;*.ads;
|
||||||
C=*.c;*.h;
|
C=*.c;*.h;
|
||||||
C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;
|
C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;
|
||||||
C#=*.cs;
|
C#=*.cs;
|
||||||
@ -39,7 +39,7 @@ Docbook=*.docbook;
|
|||||||
HTML=*.htm;*.html;*.shtml;*.hta;*.htd;*.htt;*.cfm;
|
HTML=*.htm;*.html;*.shtml;*.hta;*.htd;*.htt;*.cfm;
|
||||||
XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd;*.xhtml;
|
XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd;*.xhtml;
|
||||||
CMake=CMakeLists.txt;*.cmake;*.ctest;
|
CMake=CMakeLists.txt;*.cmake;*.ctest;
|
||||||
Conf=*.conf;*.ini;config;*rc;*.cfg;
|
Conf=*.conf;*.ini;config;*rc;*.cfg;*.desktop;
|
||||||
Diff=*.diff;*.patch;*.rej;
|
Diff=*.diff;*.patch;*.rej;
|
||||||
NSIS=*.nsi;*.nsh;
|
NSIS=*.nsi;*.nsh;
|
||||||
Po=*.po;*.pot;
|
Po=*.po;*.pot;
|
||||||
|
@ -456,7 +456,7 @@ static void init_builtin_filetypes(void)
|
|||||||
ft->title = g_strdup(_("Config file"));
|
ft->title = g_strdup(_("Config file"));
|
||||||
ft->extension = g_strdup("conf");
|
ft->extension = g_strdup("conf");
|
||||||
ft->pattern = utils_strv_new("*.conf", "*.ini", "config", "*rc",
|
ft->pattern = utils_strv_new("*.conf", "*.ini", "config", "*rc",
|
||||||
"*.cfg", NULL);
|
"*.cfg", "*.desktop", NULL);
|
||||||
ft->comment_open = g_strdup("#");
|
ft->comment_open = g_strdup("#");
|
||||||
ft->comment_close = NULL;
|
ft->comment_close = NULL;
|
||||||
ft->group = GEANY_FILETYPE_GROUP_MISC;
|
ft->group = GEANY_FILETYPE_GROUP_MISC;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user