Disabling presence control when no network is available

Dan Vrátil dvratil at redhat.com
Mon Dec 10 10:04:38 UTC 2012


On Sunday 09 of December 2012 19:01:38 Martin Klapetek wrote:
> Hey all,
> 
> me and David brainstormed the presence handling a bit and we came up with
> the idea of disabling the presence controls when you have no network. This
> way we can supress all errors when there is no network and prevent
> situations when Tp gets stucked in a connecting state even if you have no
> network. I did small testing patch and here is how the contact list would
> look if you have no network:
> http://dl.dropbox.com/u/6761102/presence_offline.png
> 
> It watches Solid::Networking states and changes whenever Solid signals
> network un/availability.
> 
> The presence plasmoid would be changed in a similar way - presence actions
> would be replaced with "No network connection" and some actions disabled
> accordingly ("Join chat room" etc).
> 
> What do you think?

Looks awesome! 

Is there a way to override the "No Network" status in case NetworkManager goes 
nuts?

Dan

> 
> --
> Martin Klapetek | KDE Developer
-- 
--
dvratil at redhat.com | Associate Software Engineer / BaseOS / KDE, Qt
GPG Key: 0xC59D614F6F4AE348
Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A E348
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20121210/422ca908/attachment-0001.sig>


More information about the KDE-Telepathy mailing list