[Bug 45126] New: API exposing the network status?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 23 15:06:40 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45126

             Bug #: 45126
           Summary: API exposing the network status?
    Classification: Unclassified
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: mission-control
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


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?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list