Merge lp:~cando/zeitgeist/storage-monitor into lp:~zeitgeist/zeitgeist/bluebird
Proposed by
Stefano Candori
Status: | Merged |
---|---|
Merged at revision: | 339 |
Proposed branch: | lp:~cando/zeitgeist/storage-monitor |
Merge into: | lp:~zeitgeist/zeitgeist/bluebird |
Diff against target: |
234 lines (+167/-4) 2 files modified
extensions/storage-monitor.vala (+150/-4) src/remote.vala (+17/-0) |
To merge this branch: | bzr merge lp:~cando/zeitgeist/storage-monitor |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Siegfried Gevatter | Needs Fixing | ||
Review via email: mp+84299@code.launchpad.net |
Description of the change
In this branch i've ported the support for "net-storages" in the storage-monitor.
To post a comment you must log in.
Hey,
Good job, thanks for working on this.
Some comments:
> (this.network != null) { ... }
What's this supposed to do? You've already unwatched everything in the "else { ... }", so you can just return.
> this.network.setup (); up/on_network_ up with the initial state of the network.
I'm not too happy about this. Hm. Let's leave it like this, but at least add a comment to the abstract setup() document that it will call on_network_
> public interface NetworkMonitor: Object
Shouldn't this be private? It's not supposed to be used anywhere outside the extension.
> Write connectivity to the DB.
Not sure what this comment is supposed to mean.
> private void name_appeared_ handler( DBusConnection connection, string name, string name_owner)
You're missing a space between "handler (".
> Checks whether there is a funtioning
Typo (funtioning -> functioning). I'd reword it to something like "Monitor the availability of working network connections using Network Manager (0.8 or later)".
> // ^^ There is a bug in some Connman versions causing it to not emit the changed. connect, but the position where it's places make it look like it's proxy.get_state.
This comment is about the proxy.state_