Commit ffb1da2c authored by stevenjb@chromium.org's avatar stevenjb@chromium.org

Show 'VPN is not configured' correctly

BUG=178818

Review URL: https://codereview.chromium.org/13648009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192899 0039d316-1c4b-4281-b951-d872f2087c98
parent bca9c354
......@@ -613,7 +613,11 @@ bool NetworkStateListDetailedView::UpdateNetworkListEntries(
// No networks or other messages (fallback)
if (index == 0) {
string16 text = rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_NO_NETWORKS);
string16 text;
if (list_type_ == LIST_TYPE_VPN)
text = rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_NETWORK_NO_VPN);
else
text = rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_NO_NETWORKS);
if (CreateOrUpdateInfoLabel(index++, text, &scanning_view_))
needs_relayout = true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment