[gnome-shell] TelepathyClient: fix ackowledging chat messages
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] TelepathyClient: fix ackowledging chat messages
- Date: Fri, 27 Mar 2015 20:13:16 +0000 (UTC)
commit 934ec3c3fe34ec5f13e5395c1d7a1da8356b1747
Author: Giovanni Campagna <gcampagna gnome org>
Date: Tue Mar 17 13:06:51 2015 -0700
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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index a79fd7e..38263e5 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() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]