[gnome-shell] notificationDaemon: Remove dead code



commit 0c7d9958f5a9097bf940c8e30b81400f815e33bf
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Oct 11 13:17:21 2013 -0400

    notificationDaemon: Remove dead code

 js/ui/notificationDaemon.js |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 63f03af..22dbb6f 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]