Revision: 226 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=226&view=rev Author: yurand Date: 2008-10-21 09:12:12 +0000 (Tue, 21 Oct 2008)
Log Message: ----------- geanyVC: Reload current document after update.
Sometimes geany is unable to detect that current documet was changed after update. I belive that this happend because current document is saved just before update. So it's modification time and modification time after update can be equal.
Modified Paths: -------------- trunk/geanyvc/geanyvc.c
Modified: trunk/geanyvc/geanyvc.c =================================================================== --- trunk/geanyvc/geanyvc.c 2008-10-21 09:10:58 UTC (rev 225) +++ trunk/geanyvc/geanyvc.c 2008-10-21 09:12:12 UTC (rev 226) @@ -937,6 +937,8 @@ set_add_confirmation); if (ret) { + p_document->reload_file(doc, NULL); + if (NZV(text)) show_output(text, "*VC-UPDATE*", NULL); if (text)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.