diff src/core/constants.py @ 1092:0eefc74c346b

core (menus): constants are used for menu types
author Goffi <goffi@goffi.org>
date Wed, 25 Jun 2014 20:54:15 +0200
parents 8e0072754413
children 490a8a4536b6
line wrap: on
line diff
--- a/src/core/constants.py	Wed Jun 25 19:11:30 2014 +0200
+++ b/src/core/constants.py	Wed Jun 25 20:54:15 2014 +0200
@@ -58,6 +58,15 @@
     STATIC_BLOG_PARAM_KEYWORDS = "Keywords"
     STATIC_BLOG_PARAM_DESCRIPTION = "Description"
 
+    ## Menus ##
+
+    MENU_GLOBAL = "GLOBAL"
+    MENU_ROOM = "ROOM"
+    MENU_SINGLE = "SINGLE"
+    MENU_JID_CONTEXT = "JID_CONTEXT"
+    MENU_ROSTER_JID_CONTEXT = "ROSTER_JID_CONTEXT"
+    MENU_ROSTER_GROUP_CONTEXT = "MENU_ROSTER_GROUP_CONTEXT"
+
     ## Profile and entities ##
     PROF_KEY_NONE = '@NONE@'
     PROF_KEY_DEFAULT = '@DEFAULT@'