     @subscribe @packageManager, 'theme-installed', =>
       @populateThemeMenus()
 
-    @subscribe atom.themes, 'reloaded', => @updateActiveThemes()
+    @disposables.add atom.themes.onDidReloadAll => @updateActiveThemes()
     @updateActiveThemes()
 
     @filterEditor.getEditor().onDidStopChanging => @matchPackages()



  initialize: (@packageManager) ->
    @packageViews = []
    @loadPackages()


fs = require 'fs-plus'
fuzzaldrin = require 'fuzzaldrin'
_ = require 'underscore-plus'
{$$, CompositeDisposable, View, TextEditorView} = require 'atom'

AvailablePackageView = require './available-package-view'
ErrorView = require './error-view'
