misleading
* Bug 658161 — Consistently use “contact” in translatable strings instead of
“persona”
+* Bug 657738 — Favorite people are not always displayed
API changes:
* Individual.avatar is now settable using Individual.change_avatar() (not new
}
});
+ /* We have to connect to the logger before dealing with the
+ * account status, because if the account's already connected we
+ * want to be able to query favourite information immediately. */
+ try
+ {
+ this._logger = new Logger (this.id);
+ yield this._logger.prepare ();
+ this._logger.invalidated.connect (
+ this._logger_invalidated_cb);
+ this._logger.favourite_contacts_changed.connect (
+ this._favourite_contacts_changed_cb);
+ }
+ catch (GLib.Error e)
+ {
+ warning (
+ _("Couldn't connect to the telepathy-logger service."));
+ this._logger = null;
+ }
+
this.account.status_changed.connect (
this._account_status_changed_cb);
this._notify_if_is_quiescent ();
}
- try
- {
- this._logger = new Logger (this.id);
- yield this._logger.prepare ();
- this._logger.invalidated.connect (
- this._logger_invalidated_cb);
- this._logger.favourite_contacts_changed.connect (
- this._favourite_contacts_changed_cb);
- }
- catch (GLib.Error e)
- {
- warning (
- _("Couldn't connect to the telepathy-logger service."));
- this._logger = null;
- }
-
this._is_prepared = true;
this.notify_property ("is-prepared");
}