Mercurial > libervia-web
diff libervia.py @ 148:8635bc9db9bf
added parameter management to test XMLUI, but it's currently deactivated for security reasons (need some configuration options) + separated mainTabPanel CSS from LiberviaTabPanel
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 09 Dec 2012 23:42:08 +0100 |
parents | d15fbb208ba0 |
children | b17ec3a6a112 |
line wrap: on
line diff
--- a/libervia.py Sun Dec 09 23:38:30 2012 +0100 +++ b/libervia.py Sun Dec 09 23:42:08 2012 +0100 @@ -84,7 +84,10 @@ LiberviaJsonProxy.__init__(self, "/json_api", ["getContacts", "addContact", "sendMessage", "sendMblog", "getLastMblogs", "getMassiveLastMblogs", "getProfileJid", "getHistory", "getPresenceStatus", "joinMUC", "getRoomsJoined", "launchTarotGame", "getTarotCardsPaths", "tarotGameReady", "tarotGameContratChoosed", - "tarotGamePlayCards", "launchRadioCollective", "getWaitingSub", "subscription", "delContact", "updateContact", "getEntityData"]) + "tarotGamePlayCards", "launchRadioCollective", "getWaitingSub", "subscription", "delContact", "updateContact", "getEntityData", "getParamsUI", + #"setParam", + "launchAction", + ]) class BridgeSignals(LiberviaJsonProxy): def __init__(self, host): @@ -119,6 +122,7 @@ self.room_list = set() #set of rooms self.mblog_cache = [] #used to keep our own blog entries in memory, to show them in new mblog panel self.avatars_cache = {} #keep track of jid's avatar hash (key=jid, value=file) + self.current_action_ids = set() #self.discuss_panel.addWidget(panels.EmptyPanel(self)) self.discuss_panel.addWidget(panels.MicroblogPanel(self, [])) #self.discuss_panel.addWidget(panels.EmptyPanel(self))