SF.net SVN: geany: [1113] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Dec 17 23:57:11 UTC 2006


Revision: 1113
          http://svn.sourceforge.net/geany/?rev=1113&view=rev
Author:   eht16
Date:     2006-12-17 15:57:11 -0800 (Sun, 17 Dec 2006)

Log Message:
-----------
Fixed disabled build menu items after opening the first file of a filetype.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-12-17 19:31:32 UTC (rev 1112)
+++ trunk/ChangeLog	2006-12-17 23:57:11 UTC (rev 1113)
@@ -8,6 +8,8 @@
    and comments, includes or a date was inserted.
    Also fixed some segfault when inserting comments, dates and includes
    at a position prior to some deleted text.
+ * src/document.c: Fixed disabled build menu items after opening the
+                   first file of a filetype.
 
 
 2006-12-17  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2006-12-17 19:31:32 UTC (rev 1112)
+++ trunk/src/document.c	2006-12-17 23:57:11 UTC (rev 1113)
@@ -1373,8 +1373,8 @@
 			tm_workspace_remove_object(doc_list[idx].tm_file, TRUE);
 			doc_list[idx].tm_file = NULL;
 		}
+		type->style_func_ptr(doc_list[idx].sci);	// set new styles
 		build_menu_update(idx);
-		type->style_func_ptr(doc_list[idx].sci);	// set new styles
 		colourise = TRUE;
 	}
 


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