Bug 45126 - API exposing the network status?
Summary: API exposing the network status?
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: mission-control (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 06:06 UTC by Guillaume Desmottes
Modified: 2019-12-03 20:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Desmottes 2012-01-23 06:06:40 UTC
Now that Empathy's connectivity code (NetworkManager, Conman) has been ported to MC, I'm trying to remove it from Empathy. I dropped the code changing our TP presence when connectivity is dropped but can't remove the whole code because it's still used in 2 places:

a) Empathy's presence chooser is unsensitived when network is offline
b) Empathy account dialog display a specific message when accounts are offline because the network is down.

Code duplication isn't great and this could also lead to some weird case where MC and Empathy doesn't agree if the network is up or not (for whatever reasons). So maybe Empathy should get the connectivity info directly from MC so we'll be sure that it reflects the actual state of MC.

b) could be solved by adding a NetworkDown Connection_Status_Reason or something.
Not sure for a), maybe a new interface of the AccountManager?
Comment 1 Guillaume Desmottes 2012-03-28 01:17:07 UTC
I'm considering to switch to GNetworkMonitor in Empathy ( https://bugzilla.gnome.org/show_bug.cgi?id=672976 ) but ideally we should really get this info from MC.

Some thoughts about this issue would be welcome if only to know if I'm on crack or not.
Comment 2 GitLab Migration User 2019-12-03 20:11:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-mission-control/issues/51.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.