Read "globs" attribute frmo old lang files

master
Yevgen Muntyan 2006-11-12 13:10:38 -06:00
parent 8e1213f354
commit 66cc76ee2d
1 changed files with 7 additions and 0 deletions

View File

@ -281,6 +281,13 @@ process_language_node (xmlTextReaderPtr reader, const gchar *filename)
g_strdup ((char*) tmp));
xmlFree (tmp);
tmp = xmlTextReaderGetAttribute (reader, BAD_CAST "globs");
if (tmp != NULL)
g_hash_table_insert (lang->priv->properties,
g_strdup ("globs"),
g_strdup ((char*) tmp));
xmlFree (tmp);
tmp = xmlTextReaderGetAttribute (reader, BAD_CAST "_name");
if (tmp == NULL)
{