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
This commit is contained in:
parent
216e996f66
commit
934ec3c3fe
@ -1106,6 +1106,8 @@ const Message = new Lang.Class({
|
|||||||
this._bodyStack.layout_manager.expansion = 1;
|
this._bodyStack.layout_manager.expansion = 1;
|
||||||
this._actionBin.scale_y = 1;
|
this._actionBin.scale_y = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.emit('expanded');
|
||||||
},
|
},
|
||||||
|
|
||||||
unexpand: function(animate) {
|
unexpand: function(animate) {
|
||||||
@ -1128,6 +1130,8 @@ const Message = new Lang.Class({
|
|||||||
this._actionBin.scale_y = 0;
|
this._actionBin.scale_y = 0;
|
||||||
this.expanded = false;
|
this.expanded = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.emit('unexpanded');
|
||||||
},
|
},
|
||||||
|
|
||||||
canClose: function() {
|
canClose: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user