From 0c7d9958f5a9097bf940c8e30b81400f815e33bf Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 11 Oct 2013 13:17:21 -0400 Subject: [PATCH] notificationDaemon: Remove dead code --- js/ui/notificationDaemon.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 63f03af11..22dbb6f20 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -752,22 +752,6 @@ const Source = new Lang.Class({ return null; }, - _setApp: function(appId) { - if (this.app) - return; - - this.app = this._getApp(appId); - if (!this.app) - return; - - // Only override the icon if we were previously using - // notification-based icons (ie, not a trayicon) or if it was unset before - if (!this.trayIcon) { - this.useNotificationIcon = false; - this.iconUpdated(); - } - }, - setTitle: function(title) { // Do nothing if .app is set, we don't want to override the // app name with whatever is provided through libnotify (usually