Merge lp:~fault/wingpanel-indicator-network/fix-1628541 into lp:~wingpanel-devs/wingpanel-indicator-network/trunk
Proposed by
Casper Christiansen
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 231 | ||||
Proposed branch: | lp:~fault/wingpanel-indicator-network/fix-1628541 | ||||
Merge into: | lp:~wingpanel-devs/wingpanel-indicator-network/trunk | ||||
Diff against target: |
66 lines (+34/-3) 2 files modified
src/common/Utils.vala (+27/-1) src/common/Widgets/NMVisualizer.vala (+7/-2) |
||||
To merge this branch: | bzr merge lp:~fault/wingpanel-indicator-network/fix-1628541 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
WingPanel Devs | Pending | ||
Review via email: mp+314188@code.launchpad.net |
Commit message
Prioritize networks by state
Description of the change
Fixes https:/
I gave the connecting states higher priority than connected states, due to that probably being something the user wants to know about. This can easily be changed if need be.
To post a comment you must log in.
Maybe you can get the priority by creating a `int get_priority ()` in the Network.State enum so you don't have to reiterate every time but only do a `score = inter.state. get_priority ();`