Quick Frontend (quick_widgets): added on_existing_widget in getOrCreateWidget (see docstring for more infos) + use of constants

This commit is contained in:
Goffi 2015-02-06 19:01:06 +01:00
commit 588d65132c

View file

@ -62,6 +62,14 @@ class Const(constants.Const):
# Roster
GROUP_NOT_IN_ROSTER = D_('Not in roster')
#Chats
# Chats
CHAT_ONE2ONE = 'one2one'
CHAT_GROUP = 'group'
# Widgets management
# FIXME: should be in quick_frontend.constant, but Libervia doesn't inherit from it
WIDGET_NEW = 'NEW'
WIDGET_KEEP = 'KEEP'
WIDGET_RAISE = 'RAISE'
WIDGET_RECREATE = 'RECREATE'