SF.net SVN: geany:[5289] trunk/src/filetypes.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Oct 7 13:45:23 UTC 2010


Revision: 5289
          http://geany.svn.sourceforge.net/geany/?rev=5289&view=rev
Author:   ntrel
Date:     2010-10-07 13:45:23 +0000 (Thu, 07 Oct 2010)

Log Message:
-----------
Set C++, C# title as *source* file.

Modified Paths:
--------------
    trunk/src/filetypes.c

Modified: trunk/src/filetypes.c
===================================================================
--- trunk/src/filetypes.c	2010-10-07 05:57:24 UTC (rev 5288)
+++ trunk/src/filetypes.c	2010-10-07 13:45:23 UTC (rev 5289)
@@ -117,7 +117,7 @@
 	ft = filetypes[GEANY_FILETYPES_CPP];
 	ft->lang = 1;
 	ft->name = g_strdup("C++");
-	filetype_make_title(ft, TITLE_FILE);
+	filetype_make_title(ft, TITLE_SOURCE_FILE);
 	ft->extension = g_strdup("cpp");
 	ft->pattern = utils_strv_new("*.cpp", "*.cxx", "*.c++", "*.cc",
 		"*.h", "*.hpp", "*.hxx", "*.h++", "*.hh", "*.C", NULL);
@@ -129,7 +129,7 @@
 	ft = filetypes[GEANY_FILETYPES_CS];
 	ft->lang = 25;
 	ft->name = g_strdup("C#");
-	filetype_make_title(ft, TITLE_FILE);
+	filetype_make_title(ft, TITLE_SOURCE_FILE);
 	ft->extension = g_strdup("cs");
 	ft->pattern = utils_strv_new("*.cs", NULL);
 	ft->comment_open = g_strdup("//");


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list