[gnome-builder: 5/7] GbEditorDocument: reset modified state when loading file
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder: 5/7] GbEditorDocument: reset modified state when loading file
- Date: Fri, 12 Dec 2014 07:58:26 +0000 (UTC)
commit 41b351f8add5e7d26ffc67790723d9157458d155
Author: Christian Hergert <christian hergert me>
Date: Thu Dec 11 23:56:58 2014 -0800
GbEditorDocument: reset modified state when loading file
src/editor/gb-editor-document.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-document.c b/src/editor/gb-editor-document.c
index 914e5ae..9f1f88c 100644
--- a/src/editor/gb-editor-document.c
+++ b/src/editor/gb-editor-document.c
@@ -1030,6 +1030,7 @@ gb_editor_document_load_async (GbEditorDocument *document,
loader = gtk_source_file_loader_new (GTK_SOURCE_BUFFER (document),
document->priv->file);
+ gb_editor_document_set_file_changed_on_volume (document, FALSE);
gb_editor_document_set_progress (document, 0.0);
gtk_source_file_loader_load_async (loader,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]