Commit 0c19f71c authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

telepathyClient: Fix fallout from Lang.Class port

this.parent was ported from calling the parent class's method like
MessageTray.Notification.prototype._init.call(this, ...);. When
porting to Lang.Class, the 'this' parameter is now passed automatically, but
removing it was forgot in a few places. Fix these places.

https://bugzilla.gnome.org/show_bug.cgi?id=665017
parent 8d6ab32b
......@@ -1092,7 +1092,7 @@ const AudioVideoNotification = new Lang.Class({
/* translators: argument is a contact name like Alice for example. */
title = _("Call from %s").format(contact.get_alias());
this.parent(this, source, title, null, { customContent: true });
this.parent(source, title, null, { customContent: true });
this.setResident(true);
this.addButton('reject', _("Reject"));
......@@ -1123,8 +1123,7 @@ const FileTransferNotification = new Lang.Class({
Extends: MessageTray.Notification,
_init: function(source, dispatchOp, channel, contact) {
this.parent(this,
source,
this.parent(source,
/* To translators: The first parameter is
* the contact's alias and the second one is the
* file name. The string will be something
......@@ -1197,7 +1196,7 @@ const SubscriptionRequestNotification = new Lang.Class({
Extends: MessageTray.Notification,
_init: function(source, contact) {
this.parent(this, source,
this.parent(source,
/* To translators: The parameter is the contact's alias */
_("%s would like permission to see when you are online").format(contact.get_alias()),
null, { customContent: true });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment