mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Rename ThemeConfigPanel to ThemePanel
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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", ->
|
||||
|
||||
Reference in New Issue
Block a user