 
 
   hide: ->
-
     super
-
-    if isLoggedIn()
-      { notifications } = kd.singletons.socialapi
-      notifications.glance {}, (err) =>
-        return kd.warn err.error, err.description  if err
-
-        @listController.emit 'NotificationCountDidChange', 0
 
 
   accountChanged: (account) ->
     super
-
-    @updateItems()
-
-  updateItems: ->
-    return unless @listController
-
-    @listController.removeAllItems()
-
-    if isLoggedIn()
-      # Fetch Notifications
-      @listController.fetchNotificationTeasers (err, notifications) =>
-        return kd.warn 'Notifications cannot be received', err  if err
-        @listController.instantiateListItems notifications
-
-  attachListeners: ->
-    { notificationController } = kd.singletons
-    notificationController.off 'NotificationHasArrived'
-    notificationController.on 'NotificationHasArrived', ({ event }) =>
-    #   # No need the following
-    #   # @notificationsIcon.updateCount @notificationsIcon.count + 1 if event is 'ActivityIsAdded'
-      if event is 'NotificationAdded'
-        @listController.fetchNotificationTeasers (err, notifications) =>
-          return kd.warn 'Notifications cannot be received', err  if err
-          @listController.removeAllItems()
-          @listController.instantiateListItems notifications

kd                          = require 'kd'
isLoggedIn                  = require '../util/isLoggedIn'
AvatarPopup                 = require '../avatararea/avatarpopup'
NotificationListController  = require './notificationlistcontroller'
NotificationListItemView    = require './notificationlistitemview'
PopupList                   = require '../avatararea/popuplist'
isKoding                    = require 'app/util/isKoding'
Tracker                     = require '../util/tracker'



    super

    @addAccountMenu()  unless isKoding()


  addAccountMenu: ->
