[gnome-documents] sources: don't forget to connect to account-added
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] sources: don't forget to connect to account-added
- Date: Thu, 15 Sep 2011 20:27:29 +0000 (UTC)
commit bfe34a05812e4d29e079a8eba6c1690522cb8088
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Sep 15 16:05:47 2011 -0400
sources: don't forget to connect to account-added
src/sources.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/sources.js b/src/sources.js
index e063de1..9fd0021 100644
--- a/src/sources.js
+++ b/src/sources.js
@@ -101,6 +101,7 @@ SourceManager.prototype = {
name: _("Local") });
this._sources[source.id] = source;
+ Global.goaClient.connect('account-added', Lang.bind(this, this._refreshGoaAccounts));
Global.goaClient.connect('account-changed', Lang.bind(this, this._refreshGoaAccounts));
Global.goaClient.connect('account-removed', Lang.bind(this, this._refreshGoaAccounts));
this._refreshGoaAccounts();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]