GNOME Bugzilla – Bug 646675
[patch] port EphyNetMonitor to GDBus
Last modified: 2011-05-07 21:22:56 UTC
Managed to split this out from the overall changes since it is isolated. This patch changes EphyNetMonitor to use GDBus rather than dbus-glib.
Created attachment 185076 [details] [review] 0002-ephy-port-net-monitor-to-GDBus.patch
So, before reviewing this: - As far as I know all this code does basically nothing at the moment, since WebKitGTK+ lacks a way of going into "offline mode". - Porting stuff to GDBus is good, but porting dead code not so much. - I think we can do three things: a) Since we don't use this, just kill it. b) Someone adds offline mode support into WebKitGTK+, and then it makes sense to do this. c) We can show the network status in the load-error pages (like Firefox or Chrome do, I think). We'll still have to wait for the timeout instead of failing immediately, but at least we can show the info there. If someone does c) (should be easy), we can go ahead with this patch. b) should be done too, but it might require more work. Otherwise I'd go for a) for the time being.
I was working on this here: https://bugzilla.gnome.org/show_bug.cgi?id=624421
Thanks for the patch Saleem, however the previous bug (bug 624421) has an already cleaner patch. Always remember to do a quick search in bugzilla for the issue you want to try to fix, you can use this query "product:epiphany <keyword for your bug>". *** This bug has been marked as a duplicate of bug 624421 ***