summaryrefslogtreecommitdiffstats
path: root/ash/shell.cc
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 15:52:23 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 15:52:23 +0000
commita97e15ac0b103e20fce806c39b353e62b198e9a9 (patch)
treed0f5ddd448cf777ff90a42b9efef442a09a900cb /ash/shell.cc
parent94fccbf9860b2a75fcfc49302c8575957a6dfe47 (diff)
downloadchromium_src-a97e15ac0b103e20fce806c39b353e62b198e9a9.zip
chromium_src-a97e15ac0b103e20fce806c39b353e62b198e9a9.tar.gz
chromium_src-a97e15ac0b103e20fce806c39b353e62b198e9a9.tar.bz2
ash: Update the user icon in the tray when user changes it from the settings page.
BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9728011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.cc')
-rw-r--r--ash/shell.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/shell.cc b/ash/shell.cc
index 1d791ff..395d2bf 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -577,6 +577,7 @@ void Shell::Init() {
tray_->network_observer_ = tray_network;
tray_->power_status_observer_ = tray_power_date;
tray_->update_observer_ = tray_user;
+ tray_->user_observer_ = tray_user;
tray_->AddTrayItem(tray_user);
tray_->AddTrayItem(new internal::TrayEmpty());