rendered paste bodydiff --git a/applet/nmpopup.cpp b/applet/nmpopup.cppindex b610586..4e117f2 100644--- a/applet/nmpopup.cpp+++ b/applet/nmpopup.cpp@@ -233,16 +233,13 @@ void NMPopup::addInterfaceInternal(Solid::Control::NetworkInterface* iface) connect(wifiItem, SIGNAL(disconnectInterface()), m_wirelessList, SLOT(deactivateConnection())); break; }- case Solid::Control::NetworkInterface::Serial:- icon = "phone";- case Solid::Control::NetworkInterface::Gsm:- icon = "phone";- case Solid::Control::NetworkInterface::Cdma:- icon = "phone";- case Solid::Control::NetworkInterface::Ieee8023:- icon = "network-wired"; default: {+ if (iface->type() == Solid::Control::NetworkInterface::Ieee8023) {+ icon = "network-wired";+ } else {+ icon = "phone";+ } // Create the interfaceitem InterfaceItem* wiredItem = 0; ifaceItem = wiredItem = new InterfaceItem(static_cast<Solid::Control::WiredNetworkInterface *>(iface), InterfaceItem::InterfaceName, this);