| Index: chrome/browser/views/options/content_page_view.cc
|
| ===================================================================
|
| --- chrome/browser/views/options/content_page_view.cc (revision 28969)
|
| +++ chrome/browser/views/options/content_page_view.cc (working copy)
|
| @@ -204,6 +204,8 @@
|
| profile()->GetPrefs(), this);
|
| ask_to_save_form_autofill_.Init(prefs::kFormAutofillEnabled,
|
| profile()->GetPrefs(), this);
|
| + is_using_default_theme_.Init(prefs::kCurrentThemeID,
|
| + profile()->GetPrefs(), this);
|
| }
|
|
|
| void ContentPageView::NotifyPrefChanged(const std::wstring* pref_name) {
|
| @@ -221,6 +223,10 @@
|
| form_autofill_neversave_radio_->SetChecked(true);
|
| }
|
| }
|
| + if (!pref_name || *pref_name == prefs::kCurrentThemeID) {
|
| + themes_reset_button_->SetEnabled(
|
| + is_using_default_theme_.GetValue().length() > 0);
|
| + }
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|