Index: chrome/browser/resources/options/browser_options.js |
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js |
index 45ee27ec547d62d421304b912427786acd3abe68..ed894304311f655e8450c61f88190fae8184c69c 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -235,9 +235,9 @@ cr.define('options', function() { |
chrome.send('coreOptionsUserMetricsAction', ['Import_ShowDlg']); |
}; |
- if ($('themes-GTK-button')) { |
- $('themes-GTK-button').onclick = function(event) { |
- chrome.send('themesSetGTK'); |
+ if ($('themes-Native-button')) { |
+ $('themes-Native-button').onclick = function(event) { |
+ chrome.send('themesSetNative'); |
}; |
} |
} |
@@ -1114,9 +1114,9 @@ cr.define('options', function() { |
'There should always be a current profile, but none found.'); |
}, |
- setGtkThemeButtonEnabled_: function(enabled) { |
+ setNativeThemeButtonEnabled_: function(enabled) { |
if (!cr.isChromeOS && navigator.platform.match(/linux|BSD/i)) |
Evan Stade
2013/06/20 22:24:35
can we just check if the button exists here instea
Elliot Glaysher
2013/06/21 17:58:45
I am not good with Javascript. Is this what you wa
Evan Stade
2013/06/21 21:40:52
yes
|
- $('themes-GTK-button').disabled = !enabled; |
+ $('themes-Native-button').disabled = !enabled; |
}, |
setThemesResetButtonEnabled_: function(enabled) { |
@@ -1465,7 +1465,7 @@ cr.define('options', function() { |
'setAutoOpenFileTypesDisplayed', |
'setBluetoothState', |
'setFontSize', |
- 'setGtkThemeButtonEnabled', |
+ 'setNativeThemeButtonEnabled', |
'setHighContrastCheckboxState', |
'setMetricsReportingCheckboxState', |
'setMetricsReportingSettingVisibility', |