SF.net SVN: geany:[3518] trunk/src/document.c

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Jan 27 21:12:47 UTC 2009


Revision: 3518
          http://geany.svn.sourceforge.net/geany/?rev=3518&view=rev
Author:   eht16
Date:     2009-01-27 21:12:46 +0000 (Tue, 27 Jan 2009)

Log Message:
-----------
Fix it, really, maybe. Sorry.

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

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2009-01-27 20:19:43 UTC (rev 3517)
+++ trunk/src/document.c	2009-01-27 21:12:46 UTC (rev 3518)
@@ -2683,11 +2683,13 @@
 
 	if (doc->changed)
 		color = &red;
+#if defined(HAVE_GIO) && defined(USE_GIO_FILEMON)
 	else if (doc->priv->file_disk_status == FILE_MISSING ||
 			 doc->priv->file_disk_status == FILE_CHANGED)
 	{
 		color = &orange;
 	}
+#endif
 	else if (doc->readonly)
 		color = &green;
 
@@ -2914,8 +2916,8 @@
 			break;
 	}
 
-	/*doc->priv->file_disk_status = FILE_OK;
-	ui_update_tab_status(doc);*/
+	doc->priv->file_disk_status = FILE_OK;
+	/*ui_update_tab_status(doc);*/
 
 	return ret;
 }


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