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
This commit is contained in:
Jasper St. Pierre 2011-11-28 04:38:00 -05:00
parent 8d6ab32b9a
commit 0c19f71c96

View File

@ -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 });