Junior Job - option to choose between 'WLAN Interface' and 'wlan0' in UI
Will Stephenson
wstephenson at kde.org
Tue Sep 15 12:08:38 CEST 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20090915/58d8be92/attachment.htm
More information about the kde-networkmanager
mailing list