     updatingAll: false
     installing: false
     mirror: config.get "packageManager.mirror", 0
+    isUpdateAvailable: false
   onSelectServer: (state) ->
     config.set "packageManager.mirror", state
     server = mirror[state].server

              <span> {__ "Check Update"}</span>
            </Button>
            <Button onClick={@handleUpdateAll.bind(@, @handleUpdateAllComplete)}
                    disabled={@state.updatingAll}
                    className="control-button"
                    style={width: '33%'}>
              <FontAwesome name={

              content = "#{content} #{child}"
      content = "#{content} #{__ "have newer version. Please update your plugins."}"
      notify content,
        type: 'plugin update'
        title: title
        icon: path.join(ROOT, 'assets', 'img', 'material', '7_big.png')
    @setState
      latest: latest
      checking: false
      isUpdateAvailable: isUpdateAvailable
  checkUpdate: (callback, isfirst) ->
    npm.load {prefix: "#{PLUGIN_PATH}", registry: mirror[@state.mirror].server}, (err) ->
      npm.config.set 'depth', 1
