Revision: 5745 http://geany.svn.sourceforge.net/geany/?rev=5745&view=rev Author: ntrel Date: 2011-04-29 15:48:59 +0000 (Fri, 29 Apr 2011)
Log Message: ----------- Remove now unnecessary Custom filetype group.
Modified Paths: -------------- trunk/ChangeLog trunk/src/filetypes.c trunk/src/filetypes.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-04-29 15:41:24 UTC (rev 5744) +++ trunk/ChangeLog 2011-04-29 15:48:59 UTC (rev 5745) @@ -1,3 +1,9 @@ +2011-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/filetypes.c, src/filetypes.h: + Remove now unnecessary Custom filetype group. + + 2011-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/main.c, @@ -2,3 +8,3 @@ data/filetype_extensions.conf: - Make filetype groups configurable using [Groups] in + Make filetype group membership configurable using [Groups] in filetype_extensions.conf.
Modified: trunk/src/filetypes.c =================================================================== --- trunk/src/filetypes.c 2011-04-29 15:41:24 UTC (rev 5744) +++ trunk/src/filetypes.c 2011-04-29 15:48:59 UTC (rev 5745) @@ -493,6 +493,7 @@ { GeanyFiletype *ft = g_new0(GeanyFiletype, 1);
+ ft->group = GEANY_FILETYPE_GROUP_NONE; ft->lang = -2; /* assume no tagmanager parser */ /* pattern must not be null */ ft->pattern = g_new0(gchar*, 1); @@ -573,7 +574,6 @@ ft = filetype_new(); ft->name = g_strdup(fn); filetype_make_title(ft, TITLE_SOURCE_FILE); - ft->group = GEANY_FILETYPE_GROUP_CUSTOM; ft->priv->custom = TRUE; filetype_add(ft); geany_debug("Added filetype %s (%d).", ft->name, ft->id); @@ -708,7 +708,6 @@ create_sub_menu(filetype_menu, GEANY_FILETYPE_GROUP_SCRIPT, _("_Scripting Languages")); create_sub_menu(filetype_menu, GEANY_FILETYPE_GROUP_MARKUP, _("_Markup Languages")); create_sub_menu(filetype_menu, GEANY_FILETYPE_GROUP_MISC, _("M_iscellaneous Languages")); - create_sub_menu(filetype_menu, GEANY_FILETYPE_GROUP_CUSTOM, _("_Custom Filetypes"));
/* Append all filetypes to the filetype menu */ foreach_slist(node, filetypes_by_title)
Modified: trunk/src/filetypes.h =================================================================== --- trunk/src/filetypes.h 2011-04-29 15:41:24 UTC (rev 5744) +++ trunk/src/filetypes.h 2011-04-29 15:48:59 UTC (rev 5745) @@ -101,7 +101,6 @@ GEANY_FILETYPE_GROUP_SCRIPT, GEANY_FILETYPE_GROUP_MARKUP, GEANY_FILETYPE_GROUP_MISC, - GEANY_FILETYPE_GROUP_CUSTOM, GEANY_FILETYPE_GROUP_COUNT } GeanyFiletypeGroupID;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.