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

Unified Diff: ash/common/system/chromeos/network/vpn_list_view.cc

Issue 2587133003: [ash-md] Removes "Connecting..." suffix from the network / VPN rows (Closed)
Patch Set: [ash-md] Removes 'Connecting...' suffix from the network row (nits) Created 4 years 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 | « ash/common/system/chromeos/network/network_list_md.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/network/vpn_list_view.cc
diff --git a/ash/common/system/chromeos/network/vpn_list_view.cc b/ash/common/system/chromeos/network/vpn_list_view.cc
index 4641523d4f3156b23f1ccc2fd5e81cc3a8dd8386..d817f9972deb46abc00eab06a7620565411065b0 100644
--- a/ash/common/system/chromeos/network/vpn_list_view.cc
+++ b/ash/common/system/chromeos/network/vpn_list_view.cc
@@ -282,8 +282,9 @@ void VPNListNetworkEntry::UpdateFromNetworkState(
gfx::ImageSkia image =
network_icon::GetImageForNetwork(network, network_icon::ICON_TYPE_LIST);
- base::string16 label =
- network_icon::GetLabelForNetwork(network, network_icon::ICON_TYPE_LIST);
+ base::string16 label = network_icon::GetLabelForNetwork(
+ network, UseMd() ? network_icon::ICON_TYPE_MENU_LIST
+ : network_icon::ICON_TYPE_LIST);
if (UseMd()) {
if (network->IsConnectedState())
SetupConnectedItemMd(label, image);
« no previous file with comments | « ash/common/system/chromeos/network/network_list_md.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698