       hasChanges = yes
 
       switch paneType
-        when 'editor'   then editors.push   { change, title : FSHelper.getFileNameFromPath file.path }
-        when 'terminal' then terminals.push { change }
-        when 'drawing'  then drawings.push  { change }
-        when 'browser'  then browsers.push  { change }
+        when 'editor'   then editors.push   { pane, title : FSHelper.getFileNameFromPath file.path }
+        when 'terminal' then terminals.push { pane }
+        when 'drawing'  then drawings.push  { pane }
+        when 'browser'  then browsers.push  { pane }
 
     for own section, items of menuData
 
       items.forEach (item, i) ->
-        { context: { paneType } } = item.change
+        { context: { paneType } } = item.pane
         title = item.title or "#{paneType.capitalize()} #{i+1}"
         label = menuLabels[paneType]
         menuItems[label] or= children: {}


    hasChanges = no

    changes.forEach (change, i) ->

      return if not change.type or not change.context

      { type, context: { file, paneType } }       = change
      { editors, terminals, drawings, browsers }  = menuData

      return unless type is 'NewPaneCreated'

AvatarView                  = require 'app/commonviews/avatarviews/avatarview'
IDEChatHeadWatchItemView    = require './idechatheadwatchitemview'
IDEChatHeadReadOnlyItemView = require './idechatheadreadonlyitemview'
IDELayoutManager            = require '../../workspace/idelayoutmanager'


module.exports = class IDEStatusBarAvatarView extends AvatarView
