summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/status/power_menu_button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/status/power_menu_button.cc')
-rw-r--r--chrome/browser/chromeos/status/power_menu_button.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/status/power_menu_button.cc b/chrome/browser/chromeos/status/power_menu_button.cc
index 6692276..a076c25 100644
--- a/chrome/browser/chromeos/status/power_menu_button.cc
+++ b/chrome/browser/chromeos/status/power_menu_button.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -92,6 +92,12 @@ string16 PowerMenuButton::GetLabelAt(int index) const {
}
////////////////////////////////////////////////////////////////////////////////
+// PowerMenuButton, views::View implementation:
+void PowerMenuButton::OnLocaleChanged() {
+ UpdateIconAndLabelInfo();
+}
+
+////////////////////////////////////////////////////////////////////////////////
// PowerMenuButton, views::ViewMenuDelegate implementation:
void PowerMenuButton::RunMenu(views::View* source, const gfx::Point& pt) {