summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authornkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 16:33:47 +0000
committernkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-19 16:33:47 +0000
commitfad46396e2077685a22e9aa46e98cdfb2126b637 (patch)
treed3d5de8bd1be7741ba0c6f9db612b0d50de3d661 /ash
parent6bfa5ddcedd9da85930ccb9f734daa3d5888f323 (diff)
downloadchromium_src-fad46396e2077685a22e9aa46e98cdfb2126b637.zip
chromium_src-fad46396e2077685a22e9aa46e98cdfb2126b637.tar.gz
chromium_src-fad46396e2077685a22e9aa46e98cdfb2126b637.tar.bz2
Show locale change notification message in the notification body.
This way notification message is fully shown and not truncated as it happened when it was set to the title instead. BUG=308901 Review URL: https://codereview.chromium.org/29013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r--ash/system/locale/locale_notification_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/system/locale/locale_notification_controller.cc b/ash/system/locale/locale_notification_controller.cc
index ab6f691..7d66d5b 100644
--- a/ash/system/locale/locale_notification_controller.cc
+++ b/ash/system/locale/locale_notification_controller.cc
@@ -112,9 +112,9 @@ void LocaleNotificationController::OnLocaleChanged(
scoped_ptr<Notification> notification(new Notification(
message_center::NOTIFICATION_TYPE_SIMPLE,
kLocaleChangeNotificationId,
+ base::string16() /* title */,
l10n_util::GetStringFUTF16(
IDS_ASH_STATUS_TRAY_LOCALE_CHANGE_MESSAGE, from, to),
- base::string16() /* message */,
bundle.GetImageNamed(IDR_AURA_UBER_TRAY_LOCALE),
base::string16() /* display_source */,
message_center::NotifierId(system_notifier::NOTIFIER_LOCALE),