main_menu() elif mode == 'system_info': system_info() elif mode == 'get_libs': rtmp_lib() elif mode == 'call_sports': what_sports() elif mode == 'log_upload': do_log_uploader() elif mode == 'log_view': TextViewer.text_view('log') ######MAIN TOOL elif mode == 'call_maintool': maintool.tool_menu() elif mode == 'wipe_addons': maintool.wipe_addons() elif mode == 'clear_cache': maintool.delete_cache() elif mode == 'clear_thumbs': maintool.delete_thumbnails() elif mode == 'purge_packages':
main_menu() elif mode == 'system_info': system_info() elif mode == 'get_libs': rtmp_lib() elif mode == 'call_sports': what_sports() elif mode == 'log_upload': do_log_uploader() elif mode == 'log_view': TextViewer.text_view('log') ######MAIN TOOL elif mode == 'call_maintool': maintool.tool_menu() elif mode == 'clear_cache': maintool.clearCache() elif mode == 'debug_onoff': if _is_debugging() == True: choice = xbmcgui.Dialog().yesno( 'steman', 'Please confirm that you wish to disable log debugging mode immediately' )
def addTextEdit(self,textList): textEdit = TextV.multiTextFrame(self) self.editTabs.addTab(textEdit,'Txt') self.editorList.append(textEdit) self.currentEditor = self.editorList[-1] self.currentEditor.setTextList(textList)