(self)
| 757 | self.create_dir_dialog = Filedialogs.name_dialog(self.master, 'Create a new folder', self.create_dir_thread, self.newfolder_icon) |
| 758 | |
| 759 | def create_dir_thread(self): |
| 760 | #Create thread |
| 761 | self.thread = threading.Thread(target = self.create_dir, args = (self.ftpController, self.create_dir_dialog.rename_entry.get())) |
| 762 | #Destroy rename window |
| 763 | self.create_dir_dialog.destroy() |
| 764 | #Show message box |
| 765 | self.start_wait() |
| 766 | #Start thread and process requests |
| 767 | self.thread.daemon = True |
| 768 | self.thread.start() |
| 769 | self.process_thread_requests() |
| 770 | |
| 771 | def create_dir(self, ftpController, dir_name): |
| 772 | try: |
nothing calls this directly
no test coverage detected