comparison src/browser/sat_browser/menu.py @ 745:ad733b670cc3

server side: fixed params, and removed self.authorized_params as authorisation is handled by the backend
author Goffi <goffi@goffi.org>
date Mon, 23 Nov 2015 12:59:28 +0100
parents f1271f769ffd
children 627b9073a2ec
comparison
equal deleted inserted replaced
744:03ccd68a6dab 745:ad733b670cc3
145 body = xmlui.create(self.host, xml_ui) 145 body = xmlui.create(self.host, xml_ui)
146 _dialog = dialog.GenericDialog("Parameters", body, options=['NO_CLOSE']) 146 _dialog = dialog.GenericDialog("Parameters", body, options=['NO_CLOSE'])
147 body.setCloseCb(_dialog.close) 147 body.setCloseCb(_dialog.close)
148 _dialog.setSize('80%', '80%') 148 _dialog.setSize('80%', '80%')
149 _dialog.show() 149 _dialog.show()
150 self.host.bridge.call('getParamsUI', gotParams) 150 self.host.bridge.getParamsUI(profile=C.PROF_KEY_NONE, callback=gotParams)
151 151
152 def removeItemParams(self): 152 def removeItemParams(self):
153 """Remove the Parameters item from the Settings menu bar.""" 153 """Remove the Parameters item from the Settings menu bar."""
154 self.menu_settings.removeItem(self.item_params) 154 self.menu_settings.removeItem(self.item_params)
155 155