Bug 267556

Summary: Hide “Enable wireless networking“ checkbox in networkmanager plasmoid if there is no WiFi hardware
Product: [Frameworks and Libraries] solid Reporter: Kai Uwe Broulik <KaiUweBroulik2>
Component: networkmanagementAssignee: Will Stephenson <wstephenson>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kai Uwe Broulik 2011-03-03 15:18:19 UTC
Version:           unspecified
OS:                Linux

When having no WiFi hardware there is no need of showing that “Enable wireless networking” checkbox in networkmanager plasmoid.

Reproducible: Always
Comment 1 Lamarque V. Souza 2011-03-04 02:39:15 UTC
Git commit e6a3fbf6b04c6118e72a838018bf5301c88c82de by Lamarque V. Souza.
Committed on 04/03/2011 at 02:32.
Pushed by lvsouza into branch 'master'.

Hide the "Enable Wireless" checkbox if there is no wireless interface
available. The checkbox still takes space in the plasmoid, there is no way to
prevent that without some sort of code logic that I think is not worth the
trouble.

BUG: 267556

M  +5    -3    applet/nmpopup.cpp     

http://commits.kde.org/networkmanagement/e6a3fbf6b04c6118e72a838018bf5301c88c82de
Comment 2 Kai Uwe Broulik 2011-03-04 11:21:34 UTC
Thanks, that was quick :)
You could swap the Enable networking and Enable Wireless checkboxes, so the enable networking is always at the bottom of the plasmoid.
Or just disable (grey it out) the checkbox instead of hiding it altogether?