         @populate()
 
   handleButtonEvents: ->
-    @disableButton.on 'click', =>
-      if atom.packages.isPackageDisabled(@pack.name)
-        atom.packages.enablePackage(@pack.name)
-      else
-        atom.packages.disablePackage(@pack.name)
-      @updateEnablement()
-      false
-
-    @uninstallButton.on 'click', =>
-      @uninstallButton.prop('disabled', true)
-      @packageManager.uninstall @pack, (error) =>
-        if error?
-          @errors.append(new ErrorView(@packageManager, error))
-          @uninstallButton.prop('disabled', false)
-          console.error("Uninstalling #{@type} #{@pack.name} failed", error.stack ? error, error.stderr)
-      false
-
     @packageRepo.on 'click', =>
       if repoUrl = @packageManager.getRepositoryUrl(@pack)
         shell.openExternal(repoUrl)

    return if @updateLink.prop('disabled')
    return unless @availableVersion

    @disableButton.prop('disabled', true)
    @uninstallButton.prop('disabled', true)
    @updateLink.prop('disabled', true)
    @updateLink.text('Installing\u2026')

    @packageManager.update @pack, @availableVersion, (error) =>
      @disableButton.prop('disabled', false)
      @uninstallButton.prop('disabled', false)

      if error?
        @updateLink.prop('disabled', false)
        @updateLink.text('Install')

  initialize: (@pack, @packageManager) ->
    @populate()
    @handleButtonEvents()
    @updateFileButtons()
    @checkForUpdate()
    @subscribeToPackageManager()
