Bug 267556 - Hide “Enable wireless networking“ checkbox in networkmanager plasmoid if there is no WiFi hardware
Summary: Hide “Enable wireless networking“ checkbox in networkmanager plasmoid if ther...
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: networkmanagement (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 15:18 UTC by Kai Uwe Broulik
Modified: 2011-03-04 11:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?