GNOME Bugzilla – Bug 682045
Various Telepathy fixes
Last modified: 2012-08-17 01:04:15 UTC
Including a fix for telepathy chats, which broke after the screen shield landing.
Created attachment 221482 [details] [review] messageTray: Defer creation of mainIcon We need to make sure the Source is fully constructed before creating mainIcon, as SourceActor will query the count of the source. This fixes Telepathy Chats.
Created attachment 221483 [details] [review] telepathyClient: Remove some obsolete wrappers gjs can handle these cases natively now
Created attachment 221484 [details] [review] telepathyClient: Pass the right amount of parameters
Created attachment 221485 [details] [review] telepathyClient: Pass a proper launch client to launch empathy-accounts
Review of attachment 221482 [details] [review]: ::: js/ui/messageTray.js @@ +1178,3 @@ + _ensureMainIcon: function(icon) { + if (this._mainIcon) + return false; You're returning false here, and undefined at the end. This triggers a JS warning, and makes the check in _setSummaryIcon always true.
Review of attachment 221483 [details] [review]: Sure!
Review of attachment 221484 [details] [review]: Minor nit ::: js/ui/telepathyClient.js @@ +1349,3 @@ + ' --select-account=%s' .format(account.get_path_suffix()); + let app_info = Gio.app_info_create_from_commandline(cmd, null, 0); Gio.AppInfoCreateFlags.NONE
Review of attachment 221485 [details] [review]: .
Created attachment 221537 [details] [review] messageTray: Defer creation of mainIcon We need to make sure the Source is fully constructed before creating mainIcon, as SourceActor will query the count of the source. This fixes Telepathy Chats.
Review of attachment 221537 [details] [review]: LGTM
Attachment 221483 [details] pushed as addb247 - telepathyClient: Remove some obsolete wrappers Attachment 221484 [details] pushed as a004ad6 - telepathyClient: Pass the right amount of parameters Attachment 221485 [details] pushed as 3042e64 - telepathyClient: Pass a proper launch client to launch empathy-accounts Attachment 221537 [details] pushed as 8f129e1 - messageTray: Defer creation of mainIcon