[gnome-documents] sources: re-add forgotten GoaObject property to the GOA sources
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] sources: re-add forgotten GoaObject property to the GOA sources
- Date: Tue, 25 Oct 2011 20:22:28 +0000 (UTC)
commit d493dc6c3363322bb47235165413429747d08ce3
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Oct 25 16:18:53 2011 -0400
sources: re-add forgotten GoaObject property to the GOA sources
Refactor fallout fix.
src/sources.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/sources.js b/src/sources.js
index 48a53ee..4e6fef3 100644
--- a/src/sources.js
+++ b/src/sources.js
@@ -46,7 +46,9 @@ Source.prototype = {
this.icon = null;
if (params.object) {
+ this.object = params.object;
let account = params.object.get_account();
+
this.id = 'gd:goa-account:' + account.id;
this.name = account.provider_name;
this.icon = Gio.icon_new_for_string(account.provider_icon);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]