From 934ec3c3fe34ec5f13e5395c1d7a1da8356b1747 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Tue, 17 Mar 2015 13:06:51 -0700 Subject: [PATCH] TelepathyClient: fix ackowledging chat messages ChatSource relies on the 'expanded' signal on the banner to ack messages, but no code ever emits that. https://bugzilla.gnome.org/show_bug.cgi?id=746364 --- js/ui/calendar.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/ui/calendar.js b/js/ui/calendar.js index a79fd7e9f..38263e56e 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -1106,6 +1106,8 @@ const Message = new Lang.Class({ this._bodyStack.layout_manager.expansion = 1; this._actionBin.scale_y = 1; } + + this.emit('expanded'); }, unexpand: function(animate) { @@ -1128,6 +1130,8 @@ const Message = new Lang.Class({ this._actionBin.scale_y = 0; this.expanded = false; } + + this.emit('unexpanded'); }, canClose: function() {