def on_mkdir_clicked(self, button): path = self.get_path() dialog = NewFolderDialog(self, self.app, path) dialog.run() dialog.destroy() self.treestore.clear() root_iter = self.treestore.append(None, [ '/', '/', False, False, ]) GLib.idle_add(self.list_dir, root_iter)
def on_new_folder_activated(self, menu_item): dialog = NewFolderDialog(self.parent, self.app, self.parent.path) dialog.run() dialog.destroy()
def on_mkdir_clicked(self, button): path = self.get_path() dialog = NewFolderDialog(self, self.app, path) dialog.run() dialog.destroy() self.reset()