http://bugs.kde.org/show_bug.cgi?id=207445 :
Some users prefer descriptive names eg 'Wireless Interface', others prefer technical names eg 'eth0, wlan0'. This junior-job is about making it possible to choose. The different styles are illustrated in the UnconfiguredInterfaceItem constructor in monolithic/unconfiguredinterfaceitem.cpp For this job you would have to 1) extend KNetworkManagerServicePrefs (via libs/internals/knmserviceprefs.kcfg) to store this preference 2) provide a checkbox somewhere in settings/config/traysettings.ui and settings/config/managetraywidget.cpp to control this setting 3) use this setting throughout monolithic and libs/ui to show either the Solid::Device description or interface name. At some points in the code I have already provided an if clause to do this, see UnconfiguredInterfaceItem as above. You can probably find all the places to change by grepping for Solid::Device. As usual, ask here or on IRC (wstephenson in #solid) for advice on this JJ. Will
_______________________________________________ kde-networkmanager mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-networkmanager
