Mercurial > libervia-backend
diff frontends/src/primitivus/status.py @ 1060:aa15453ec54d
core (xmpp), stdui (profile_manager), bridge, frontends: raise an exception if the XMPP connection failed instead of sending a signal
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 23 May 2014 09:59:35 +0200 |
parents | 255e6953b2c3 |
children | e2e1e27a3680 |
line wrap: on
line diff
--- a/frontends/src/primitivus/status.py Fri May 23 10:40:54 2014 +0200 +++ b/frontends/src/primitivus/status.py Fri May 23 09:59:35 2014 +0200 @@ -34,7 +34,7 @@ status_prefix = urwid.Text('[') status_suffix = urwid.Text(']') self.status = sat_widgets.ClickableText('') - self.setPresenceStatus('', '') + self.setPresenceStatus('unavailable', '') urwid.Columns.__init__(self, [('weight', 1, self.presence), ('weight', 1, status_prefix), ('weight', 9, self.status), ('weight', 1, status_suffix)]) urwid.connect_signal(self.presence, 'click', self.onPresenceClick)