SF.net SVN: geany:[3978] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Thu Jul 16 15:36:27 UTC 2009
Revision: 3978
http://geany.svn.sourceforge.net/geany/?rev=3978&view=rev
Author: eht16
Date: 2009-07-16 15:36:27 +0000 (Thu, 16 Jul 2009)
Log Message:
-----------
Enable file monitoring for files which are written to disk by Geany for the first time.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-07-16 15:19:57 UTC (rev 3977)
+++ trunk/ChangeLog 2009-07-16 15:36:27 UTC (rev 3978)
@@ -1,3 +1,10 @@
+2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/document.c:
+ Enable file monitoring for files which are written to disk by Geany
+ for the first time.
+
+
2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2009-07-16 15:19:57 UTC (rev 3977)
+++ trunk/src/document.c 2009-07-16 15:36:27 UTC (rev 3978)
@@ -1661,6 +1661,7 @@
{
doc->real_path = tm_get_real_path(locale_filename);
doc->priv->is_remote = utils_is_remote_path(locale_filename);
+ monitor_file_setup(doc);
}
return NULL;
@@ -2918,7 +2919,7 @@
monitor_resave_missing_file(doc);
ret = TRUE;
}
- else if (! use_gio_filemon && /* ignore these check when using GIO */
+ else if (! use_gio_filemon && /* ignore these checks when using GIO */
(G_UNLIKELY(doc->priv->mtime > cur_time) || G_UNLIKELY(st.st_mtime > cur_time)))
{
g_warning("%s: Something is wrong with the time stamps.", G_STRFUNC);
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