SF.net SVN: geany:[4398] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Nov 4 15:06:56 UTC 2009


Revision: 4398
          http://geany.svn.sourceforge.net/geany/?rev=4398&view=rev
Author:   ntrel
Date:     2009-11-04 15:06:56 +0000 (Wed, 04 Nov 2009)

Log Message:
-----------
Only reload filetype files when changing color scheme, not all
configuration files.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/highlighting.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-11-04 14:59:16 UTC (rev 4397)
+++ trunk/ChangeLog	2009-11-04 15:06:56 UTC (rev 4398)
@@ -11,6 +11,9 @@
  * src/highlighting.c:
    Fix issue with default color not being reset if overridden with a
    system default color.
+ * src/highlighting.c:
+   Only reload filetype files when changing color scheme, not all
+   configuration files.
 
 
 2009-10-30  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c	2009-11-04 14:59:16 UTC (rev 4397)
+++ trunk/src/highlighting.c	2009-11-04 15:06:56 UTC (rev 4398)
@@ -3370,8 +3370,7 @@
 	if (user_data)
 	{
 		setptr(editor_prefs.color_scheme, NULL);
-		/* TODO: should be changed to only reload color schemes */
-		main_reload_configuration();
+		filetypes_reload();
 		return;
 	}
 	fname = ui_menu_item_get_text(menuitem);
@@ -3389,8 +3388,7 @@
 	{
 		setptr(editor_prefs.color_scheme, fname);
 		fname = NULL;
-		/* TODO: should be changed to only reload color schemes */
-		main_reload_configuration();
+		filetypes_reload();
 	}
 	else
 	{


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