Revision: 1325 http://svn.sourceforge.net/geany/?rev=1325&view=rev Author: ntrel Date: 2007-02-23 07:50:29 -0800 (Fri, 23 Feb 2007)
Log Message: ----------- Don't include filetype.none in the new file template menus.
Modified Paths: -------------- trunk/ChangeLog trunk/src/templates.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-02-23 15:36:21 UTC (rev 1324) +++ trunk/ChangeLog 2007-02-23 15:50:29 UTC (rev 1325) @@ -9,6 +9,8 @@ Add document_delay_colourise(), document_colourise_all(). * src/dialogs.c, src/document.c, src/document.h: Fixed switching to the wrong tab when showing the unsaved dialog. + * src/templates.c: + Don't include filetype.none in the new file template menus.
2007-02-20 Enrico Troeger enrico.troeger@uvena.de
Modified: trunk/src/templates.c =================================================================== --- trunk/src/templates.c 2007-02-23 15:36:21 UTC (rev 1324) +++ trunk/src/templates.c 2007-02-23 15:50:29 UTC (rev 1325) @@ -308,7 +308,7 @@ GtkWidget *template_menu = lookup_widget(app->window, "menu_new_with_template1_menu"); filetype_id ft_id;
- for (ft_id = 0; ft_id < GEANY_MAX_FILE_TYPES; ft_id++) + for (ft_id = 0; ft_id < GEANY_FILETYPES_ALL; ft_id++) { GtkWidget *tmp_menu, *tmp_button; filetype *ft = filetypes[ft_id];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.