Merge lp:~donadigo/switchboard-plug-networking/page-in-deviceitem into lp:~elementary-pantheon/switchboard-plug-networking/trunk
Proposed by
Adam Bieńkowski
Status: | Merged |
---|---|
Approved by: | xapantu |
Approved revision: | 169 |
Merged at revision: | 170 |
Proposed branch: | lp:~donadigo/switchboard-plug-networking/page-in-deviceitem |
Merge into: | lp:~elementary-pantheon/switchboard-plug-networking/trunk |
Diff against target: |
357 lines (+79/-103) 6 files modified
src/Plug.vala (+22/-38) src/Utils.vala (+15/-15) src/Widgets/Device/DeviceItem.vala (+11/-9) src/Widgets/DeviceList.vala (+21/-35) src/Widgets/InfoBox.vala (+0/-1) src/Widgets/Proxy/ProxyPage.vala (+10/-5) |
To merge this branch: | bzr merge lp:~donadigo/switchboard-plug-networking/page-in-deviceitem |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
xapantu (community) | Approve | ||
Review via email: mp+275099@code.launchpad.net |
Commit message
* Soft-code page switching.
* Page variable directly in DeviceItem.
* Do not hardcode proxy item.
* Removed unused methods.
* ProxyPage: changed tabs to spaces.
* Code clean.
Description of the change
This is the new version of page-in-deviceitem refreshed for new revision.
***
The goal here is to remove as much hard-coded functions as possible. Creating page variable directly in the DeviceItem allows us to easily add and manage switching pages just by getting the variable from the device item. In consequence proxy page is no longer a "special" item but normal item that has it's page.
To post a comment you must log in.
There are several minor bugs, but I'm going to report them and we can fix them later.