diff frontends/src/constants.py @ 1301:afc57b34c0a3 frontends_multi_profiles

Quick Frontend (quick_widgets): added on_existing_widget in getOrCreateWidget (see docstring for more infos) + use of constants
author Goffi <goffi@goffi.org>
date Fri, 06 Feb 2015 19:01:06 +0100
parents 0db0013c59dd
children
line wrap: on
line diff
--- a/frontends/src/constants.py	Fri Feb 06 18:54:44 2015 +0100
+++ b/frontends/src/constants.py	Fri Feb 06 19:01:06 2015 +0100
@@ -62,6 +62,14 @@
     # 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'
+