primitivus: prefill "Join MUC" dialog with only the JID's node part when in debug version + display error directly from the DBus object

This commit is contained in:
souliane 2015-03-24 07:38:40 +01:00
commit 294b42f15c

View file

@ -42,13 +42,8 @@ class Const(constants.Const):
XMLUI_STATUS_CANCELLED = constants.Const.XMLUI_DATA_CANCELLED
# MUC
USER_CHAT_STATES = {
"active": u'✔',
"inactive": u'☄',
"gone": u'✈',
"composing": u'✎',
"paused": u"⦷"
}
DEFAULT_MUC_NODE = u'sat'
DEFAULT_MUC = DEFAULT_MUC_NODE if constants.Const.APP_VERSION.endswith(u'D') else u"%s@%s" % (DEFAULT_MUC_NODE, 'chat.jabberfr.org')
# Roster
CONTACT_GROUPS = 'groups'
@ -62,6 +57,13 @@ class Const(constants.Const):
# Chats
CHAT_ONE2ONE = 'one2one'
CHAT_GROUP = 'group'
USER_CHAT_STATES = {
"active": u'✔',
"inactive": u'☄',
"gone": u'✈',
"composing": u'✎',
"paused": u"⦷"
}
# Widgets management
# FIXME: should be in quick_frontend.constant, but Libervia doesn't inherit from it