Rename GeneralConfigPanel to SettingsPanel

This commit is contained in:
probablycorey
2013-06-27 12:12:37 -07:00
parent 53ea135799
commit 789b8a2987
2 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ ScrollView = require 'scroll-view'
$ = require 'jquery'
_ = require 'underscore'
Pane = require 'pane'
GeneralConfigPanel = require './general-config-panel'
SettingsPanel = require './settings-panel'
ThemeConfigPanel = require './theme-config-panel'
PackagePanel = require './package-panel'
@@ -49,7 +49,7 @@ class ConfigView extends ScrollView
@on 'click', '#open-dot-atom', ->
atom.open(config.configDirPath)
@addPanel('General', new GeneralConfigPanel)
@addPanel('Settings', new SettingsPanel)
@addPanel('Themes', new ThemeConfigPanel)
@addPanel('Packages', new PackagePanel)
@showPanel(activePanelName) if activePanelName

View File

@@ -10,9 +10,9 @@ _ = require 'underscore'
Editor = require 'editor'
module.exports =
class GeneralConfigPanel extends ConfigPanel
class SettingsPanel extends ConfigPanel
@content: ->
@form id: 'general-config-panel', class: 'form-horizontal', =>
@form id: 'settings-panel', class: 'form-horizontal', =>
form: null
@@ -55,7 +55,7 @@ class GeneralConfigPanel extends ConfigPanel
englishName = _.uncamelcase(name)
@label class: 'control-label', englishName
@div class: 'controls', =>
@text value.join(", ")
@text "readOnly: " + value.join(", ")
@append $$ ->
@fieldset =>