[polari/wip/fmuellner/combined-gsoc: 135/137] renamed _getNotifyActionName() to _getNotifyActionNameInternal()
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/combined-gsoc: 135/137] renamed _getNotifyActionName() to _getNotifyActionNameInternal()
- Date: Thu, 28 Jul 2016 16:26:47 +0000 (UTC)
commit 6c9d44093651adcacf18ce6e266981cbfc9814a7
Author: raresv <rares visalom gmail com>
Date: Wed Jul 27 02:03:26 2016 +0300
renamed _getNotifyActionName() to _getNotifyActionNameInternal()
src/userTracker.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/userTracker.js b/src/userTracker.js
index f0f148b..5f53f2e 100644
--- a/src/userTracker.js
+++ b/src/userTracker.js
@@ -301,33 +301,33 @@ const UserTracker = new Lang.Class({
Utils.getTpEventTime() ]);
notification.set_default_action_and_target('app.join-room', param);
- this._app.send_notification(this._getNotifyActionName(member.alias), notification);
+ this._app.send_notification(this._getNotifyActionNameInternal(member.alias), notification);
let baseNick = Polari.util_get_basenick(member.alias);
},
_shouldNotifyNick: function(nickName) {
- let actionName = this._getNotifyActionName(nickName);
+ let actionName = this._getNotifyActionNameInternal(nickName);
let state = this._app.get_action_state(actionName);
return state ? state.get_boolean()
: false;
},
_setNotifyActionEnabled: function(nickName, enabled) {
- let name = this._getNotifyActionName(nickName);
+ let name = this._getNotifyActionNameInternal(nickName);
let action = this._app.lookup_action(name);
if (action)
action.enabled = enabled;
},
- _getNotifyActionName: function(nickName) {
+ _getNotifyActionNameInternal: function(nickName) {
return 'notify-user-' +
this._account.get_path_suffix() + '-' +
Polari.util_get_basenick(nickName);
},
getNotifyActionName: function(nickName) {
- let name = this._getNotifyActionName(nickName);
+ let name = this._getNotifyActionNameInternal(nickName);
if (!this._app.lookup_action(name)) {
let status = this.getNickStatus(nickName);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]