SF.net SVN: geany:[4498] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Dec 20 15:50:53 UTC 2009


Revision: 4498
          http://geany.svn.sourceforge.net/geany/?rev=4498&view=rev
Author:   eht16
Date:     2009-12-20 15:50:53 +0000 (Sun, 20 Dec 2009)

Log Message:
-----------
When closing a document after it was deleted from the filesystem, don't ask whether it should be saved first.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-12-20 15:49:31 UTC (rev 4497)
+++ trunk/ChangeLog	2009-12-20 15:50:53 UTC (rev 4498)
@@ -9,6 +9,9 @@
  * src/editor.c:
    Fix LaTeX environment auto completion with CR/LF line endings.
    Add some sanity checks.
+ * src/document.c:
+   When closing a document after it was deleted from the filesystem,
+   don't ask whether it should be saved first.
 
 
 2009-12-20  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2009-12-20 15:49:31 UTC (rev 4497)
+++ trunk/src/document.c	2009-12-20 15:50:53 UTC (rev 4498)
@@ -2966,6 +2966,7 @@
 	}
 	else if (ret == GTK_RESPONSE_CLOSE)
 	{
+		doc->changed = FALSE;
 		document_close(doc);
 	}
 


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