Mercurial > libervia-backend
diff frontends/src/primitivus/status.py @ 1434:b06047e1c1fb
primitivus: fix setting the presence and status
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 10 Jun 2015 09:18:34 +0200 |
parents | 176de79c8c39 |
children | d17772b0fe22 |
line wrap: on
line diff
--- a/frontends/src/primitivus/status.py Sat Jun 06 17:01:22 2015 +0200 +++ b/frontends/src/primitivus/status.py Wed Jun 10 09:18:34 2015 +0200 @@ -61,8 +61,9 @@ elif isinstance(user_data, sat_widgets.AdvancedEdit): new = (previous[0], new_value[0]) if new != previous: + statuses = {C.PRESENCE_STATUSES_DEFAULT: new[1]} # FIXME: manage multilingual statuses for profile in self.host.profiles: # FIXME: for now all the profiles share the same status - self.host.bridge.setPresence(show=new[0], status=new[1], profile_key=profile) # FIXME: manage multilingual statuses + self.host.bridge.setPresence(show=new[0], statuses=statuses, profile_key=profile) self.setPresenceStatus(new[0], new[1]) self.host.removePopUp()