 
     hasChanges = no
 
-    changes.forEach (change, i) ->
+    panes = rtm.getFromModel("#{@nickname}Snapshot")?.values() or []
+    panes = IDELayoutManager.convertSnapshotToFlatArray panes[0]  if panes.length
 
-      return if not change.type or not change.context
+    panes.forEach (pane, i) ->
 
-      { type, context: { file, paneType } }       = change
+      return  if not pane.context
+
+      { context: { file, paneType } }             = pane
       { editors, terminals, drawings, browsers }  = menuData
 
       return unless type is 'NewPaneCreated'


    { appManager } = kd.singletons
    { rtm }        = appManager.getFrontApp()
    changes        = rtm.getFromModel("#{@nickname}Snapshot")?.values() or []
    menuItems      = {}
    menuData       =
      terminals    : []

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


module.exports = class IDEStatusBarAvatarView extends AvatarView
