comparison src/core/constants.py @ 2088:c02f96756d5c

core: bridge can now be changed in conf by default DBus bridge is used, but this can be changed in sat.conf's DEFAULT section using "bridge" option. bridge can be "dbus" (or equivalent "dbus_bridge") or embedded at the moment. Bridge name used is saved in SAT.bridge_name, and load_bridge method can be used by frontends.
author Goffi <goffi@goffi.org>
date Sun, 04 Dec 2016 18:16:37 +0100
parents 5c6db4329288
children 0931b5a6213c
comparison
equal deleted inserted replaced
2087:159250d66407 2088:c02f96756d5c
31 APP_NAME_SHORT = u'SàT' 31 APP_NAME_SHORT = u'SàT'
32 APP_NAME_FILE = u'sat' 32 APP_NAME_FILE = u'sat'
33 APP_NAME_FULL = u'%s (%s)' % (APP_NAME_SHORT, APP_NAME) 33 APP_NAME_FULL = u'%s (%s)' % (APP_NAME_SHORT, APP_NAME)
34 APP_VERSION = u'0.7.0D' # Please add 'D' at the end for dev versions 34 APP_VERSION = u'0.7.0D' # Please add 'D' at the end for dev versions
35 APP_URL = u'http://salut-a-toi.org' 35 APP_URL = u'http://salut-a-toi.org'
36
37
38 # Main config ##
39 DEFAULT_BRIDGE = 'dbus'
36 40
37 41
38 # Protocol 42 # Protocol
39 XMPP_C2S_PORT = 5222 43 XMPP_C2S_PORT = 5222
40 XMPP_KEEP_ALIFE = 180 44 XMPP_KEEP_ALIFE = 180