Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: ash/system/chromeos/network/network_state_list_detailed_view.cc

Issue 13648009: Show 'VPN is not configured' correctly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/network_state_list_detailed_view.cc
diff --git a/ash/system/chromeos/network/network_state_list_detailed_view.cc b/ash/system/chromeos/network/network_state_list_detailed_view.cc
index b71c40c84d1df9f00241628b05a6b26773ca7f89..4eb231b113ee809d0722f0f13f4f7a1388c93f9d 100644
--- a/ash/system/chromeos/network/network_state_list_detailed_view.cc
+++ b/ash/system/chromeos/network/network_state_list_detailed_view.cc
@@ -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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698