[gnome-documents] sources: track deletion of sources from the model
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] sources: track deletion of sources from the model
- Date: Wed, 19 Oct 2011 23:04:44 +0000 (UTC)
commit 0e3e2bf71327d90fa0babcce7746a768225c8ee6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Oct 18 18:09:27 2011 -0400
sources: track deletion of sources from the model
src/sources.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/sources.js b/src/sources.js
index cb94003..dfb7513 100644
--- a/src/sources.js
+++ b/src/sources.js
@@ -155,6 +155,7 @@ SourceModel.prototype = {
this.model = Gd.create_sources_store();
this._sourceManager = Global.sourceManager;
this._sourceManager.connect('item-added', Lang.bind(this, this._refreshModel));
+ this._sourceManager.connect('item-removed', Lang.bind(this, this._refreshModel));
this._refreshModel();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]