[polari/wip/fmuellner/combined-gsoc: 134/137] renamed _emitNotification() to _notifyNickAvailable() and swapped its parmas
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 134/137] renamed _emitNotification() to _notifyNickAvailable() and swapped its parmas
- Date: Thu, 28 Jul 2016 16:26:42 +0000 (UTC)
commit c790b435fbd3c32cda43469080f051fc9ff1e7e5
Author: raresv <rares visalom gmail com>
Date: Wed Jul 27 02:00:32 2016 +0300
renamed _emitNotification() to _notifyNickAvailable() and swapped its parmas
src/userTracker.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/userTracker.js b/src/userTracker.js
index 902ef1a..f0f148b 100644
--- a/src/userTracker.js
+++ b/src/userTracker.js
@@ -199,7 +199,7 @@ const UserTracker = new Lang.Class({
this.emit("status-changed::" + baseNick, baseNick, status);
if (this._shouldNotifyNick(member.alias))
- this._emitNotification(room, member);
+ this._notifyNickAvailable(member, room);
this._setNotifyActionEnabled(member.alias, false);
}
@@ -290,7 +290,7 @@ const UserTracker = new Lang.Class({
this._getRoomHandlers(room).delete(handlerID);
},
- _emitNotification: function (room, member) {
+ _notifyNickAvailable: function (member, room) {
let notification = new Gio.Notification();
notification.set_title(_("User is online"));
notification.set_body(_("User %s is now online.").format(member.alias));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]