[gedit/wip/loader-saver: 43/55] GeditDocument: call gtk_text_buffer_set_modified() when saved



commit c4c9dc1733af8500d7d19544fbfcce964553e3a6
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 28 17:59:19 2014 +0200

    GeditDocument: call gtk_text_buffer_set_modified() when saved

 gedit/gedit-document.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-document.c b/gedit/gedit-document.c
index d8ac041..957ed38 100644
--- a/gedit/gedit-document.c
+++ b/gedit/gedit-document.c
@@ -1167,6 +1167,8 @@ saved_query_info_cb (GFile         *location,
 
        set_readonly (doc, FALSE);
 
+       gtk_text_buffer_set_modified (GTK_TEXT_BUFFER (doc), FALSE);
+
        save_encoding_metadata (doc);
 
        /* Async operation finished. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]