Rename ThemeConfigPanel to ThemePanel

This commit is contained in:
probablycorey
2013-06-27 16:27:00 -07:00
parent 4dc2e48e8c
commit cbb6d58d1b
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ $ = require 'jquery'
_ = require 'underscore'
Pane = require 'pane'
SettingsPanel = require './settings-panel'
ThemeConfigPanel = require './theme-config-panel'
ThemePanel = require './theme-panel'
PackagePanel = require './package-panel'
###
@@ -50,7 +50,7 @@ class ConfigView extends ScrollView
atom.open(config.configDirPath)
@addPanel('Settings', new SettingsPanel)
@addPanel('Themes', new ThemeConfigPanel)
@addPanel('Themes', new ThemePanel)
@addPanel('Packages', new PackagePanel)
@showPanel(activePanelName) if activePanelName

View File

@@ -1,12 +1,12 @@
$ = require 'jquery'
ThemeConfigPanel = require '../lib/theme-config-panel'
ThemePanel = require '../lib/theme-panel'
describe "ThemeConfigPanel", ->
describe "ThemePanel", ->
panel = null
beforeEach ->
config.set('core.themes', ['atom-dark-ui', 'atom-dark-syntax'])
panel = new ThemeConfigPanel
panel = new ThemePanel
describe "when an enabled theme is reloced in the themes list", ->
it "updates the 'core.themes' config key to reflect the new order", ->