set has_tags to TRUE for filetypes LaTex and DocBook

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@115 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2006-01-09 18:01:06 +00:00
parent e1fa2d4c03
commit 71369c513e

View File

@ -129,7 +129,7 @@ void filetypes_init_types(void)
filetypes[GEANY_FILETYPES_DOCBOOK] = (filetype*)g_malloc(sizeof(filetype)); filetypes[GEANY_FILETYPES_DOCBOOK] = (filetype*)g_malloc(sizeof(filetype));
filetypes[GEANY_FILETYPES_DOCBOOK]->id = GEANY_FILETYPES_DOCBOOK; filetypes[GEANY_FILETYPES_DOCBOOK]->id = GEANY_FILETYPES_DOCBOOK;
filetypes[GEANY_FILETYPES_DOCBOOK]->name = g_strdup("Docbook"); filetypes[GEANY_FILETYPES_DOCBOOK]->name = g_strdup("Docbook");
filetypes[GEANY_FILETYPES_DOCBOOK]->has_tags = FALSE; filetypes[GEANY_FILETYPES_DOCBOOK]->has_tags = TRUE;
filetypes[GEANY_FILETYPES_DOCBOOK]->title = g_strdup(_("Docbook source file")); filetypes[GEANY_FILETYPES_DOCBOOK]->title = g_strdup(_("Docbook source file"));
filetypes[GEANY_FILETYPES_DOCBOOK]->extension = g_strdup("docbook"); filetypes[GEANY_FILETYPES_DOCBOOK]->extension = g_strdup("docbook");
filetypes[GEANY_FILETYPES_DOCBOOK]->pattern[0] = g_strdup("*.docbook"); filetypes[GEANY_FILETYPES_DOCBOOK]->pattern[0] = g_strdup("*.docbook");
@ -157,7 +157,7 @@ void filetypes_init_types(void)
filetypes[GEANY_FILETYPES_TEX] = (filetype*)g_malloc(sizeof(filetype)); filetypes[GEANY_FILETYPES_TEX] = (filetype*)g_malloc(sizeof(filetype));
filetypes[GEANY_FILETYPES_TEX]->id = GEANY_FILETYPES_TEX; filetypes[GEANY_FILETYPES_TEX]->id = GEANY_FILETYPES_TEX;
filetypes[GEANY_FILETYPES_TEX]->name = g_strdup("Tex"); filetypes[GEANY_FILETYPES_TEX]->name = g_strdup("Tex");
filetypes[GEANY_FILETYPES_TEX]->has_tags = FALSE; filetypes[GEANY_FILETYPES_TEX]->has_tags = TRUE;
filetypes[GEANY_FILETYPES_TEX]->title = g_strdup(_("LaTex source file")); filetypes[GEANY_FILETYPES_TEX]->title = g_strdup(_("LaTex source file"));
filetypes[GEANY_FILETYPES_TEX]->extension = g_strdup("tex"); filetypes[GEANY_FILETYPES_TEX]->extension = g_strdup("tex");
filetypes[GEANY_FILETYPES_TEX]->pattern[0] = g_strdup("*.tex"); filetypes[GEANY_FILETYPES_TEX]->pattern[0] = g_strdup("*.tex");