       dfc.selectObject index
       this.folders = dfc.getObjects()
       this.active = dfc.getSelectedObject()
-      this.$on 'refreshRoot'
+      @$broadcast 'refresh'
       dfc.write()
       c.log.debug "Activate: #{index}"
     startAutoCommit: ->

    activeIndex: dfc.selectedObjectIndex
    activeTab: 'files'
  events:
    'active': ->
      this.$broadcast 'active'
      this.active = dfc.getSelectedObject
      c.log.debug "active event in root"
    'refreshRoot': ->
      @folders = dfc.getObjects()
      @active = dfc.getSelectedObject
      @activeIndex = dfc.selectedObjectIndex

  name: 'settings'
  template: '#settings-template'
  data: ->
    active: dfc.getSelectedObject()
    t: this.$root.t
  methods:
