[gedit-code-assistance] Use end_user_action to signal reparse



commit 355def39bd2502d117196d9d46e353e4bbec590c
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Sun Nov 13 21:10:56 2011 +0100

    Use end_user_action to signal reparse

 src/gcp-document.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gcp-document.vala b/src/gcp-document.vala
index 199bfeb..50c100f 100644
--- a/src/gcp-document.vala
+++ b/src/gcp-document.vala
@@ -69,7 +69,7 @@ class Document : GLib.Object
 		update_modified();
 
 		d_document.modified_changed.connect(on_document_modified_changed);
-		d_document.changed.connect(on_document_changed);
+		d_document.end_user_action.connect(on_document_end_user_action);
 		d_document.notify["location"].connect(on_location_changed);
 		d_document.saved.connect(on_document_saved);
 
@@ -105,7 +105,7 @@ class Document : GLib.Object
 		d_document.modified_changed.disconnect(on_document_modified_changed);
 		d_document.notify["location"].disconnect(on_location_changed);
 
-		d_document.changed.disconnect(on_document_changed);
+		d_document.end_user_action.disconnect(on_document_end_user_action);
 		d_document.saved.disconnect(on_document_saved);
 
 		DiagnosticSupport diag = this as DiagnosticSupport;
@@ -375,7 +375,7 @@ class Document : GLib.Object
 		}
 	}
 
-	private void on_document_changed()
+	private void on_document_end_user_action()
 	{
 		if (d_modified)
 		{



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