               @span class: 'icon icon-playback-pause'
               @span class: 'disable-text', 'Disable'
 
-        @span outlet: 'status', class: 'package-status icon'
-
   initialize: (@pack, @packageManager) ->
     @type = if @pack.theme then 'theme' else 'package'
     @name = @pack.name

      @installButton.prop('disabled', true)
      @installButton.show()
      @uninstallButton.hide()
      @setStatusIcon('cloud-download')

    @subscribeToPackageEvent 'package-uninstalling', (pack) =>
      @installButton.prop('disabled', true)
      @setStatusIcon()

    @subscribeToPackageEvent 'package-uninstalled package-uninstall-failed theme-uninstalled theme-uninstall-failed', (pack, error) =>
      @installButton.prop('disabled', false)
      if error?
        @setStatusIcon('alert')
      else
        @installButton.show()
        @uninstallButton.hide()
        @settingsButton.hide()
        @setStatusIcon()

    if @isInstalled()
      @installButton.hide()
      @uninstallButton.show()
      @setStatusIcon('check')
    else
      @settingsButton.hide()


  handlePackageEvents: ->
    @subscribeToPackageEvent 'package-installed package-install-failed theme-installed theme-install-failed', (pack, error) =>
      @installButton.prop('disabled', false)
      unless error?
        @settingsButton.show()
        @installButton.hide()
        @uninstallButton.show()
