Revision: 5032 http://geany.svn.sourceforge.net/geany/?rev=5032&view=rev Author: statc Date: 2010-06-17 14:51:49 +0000 (Thu, 17 Jun 2010)
Log Message: ----------- Fix for r4972: properly save filetype config when filetype's build commands are changed
Modified Paths: -------------- branches/sm/src/build.c branches/sm/src/filetypes.h
Modified: branches/sm/src/build.c =================================================================== --- branches/sm/src/build.c 2010-06-17 12:35:17 UTC (rev 5031) +++ branches/sm/src/build.c 2010-06-17 14:51:49 UTC (rev 5032) @@ -2209,7 +2209,7 @@ } prefdsts.nonfileregexstr = ®ex_pref; if (build_read_commands(&prefdsts, table_data, response) && ft != NULL) - ft->home_save_needed = TRUE; + filetypes_save_commands(ft); build_free_fields(table_data);
build_menu_update(doc); @@ -2722,5 +2722,3 @@ /* set the submenu to the toolbar item */ geany_menu_button_action_set_menu(GEANY_MENU_BUTTON_ACTION(widgets.build_action), toolmenu); } - -
Modified: branches/sm/src/filetypes.h =================================================================== --- branches/sm/src/filetypes.h 2010-06-17 12:35:17 UTC (rev 5031) +++ branches/sm/src/filetypes.h 2010-06-17 14:51:49 UTC (rev 5032) @@ -139,7 +139,6 @@ gint project_list_entry; gchar *projerror_regex_string; gchar *homeerror_regex_string; - gboolean home_save_needed; #endif };
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.