コード例 #1
0
 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)
コード例 #2
0
 def on_new_folder_activated(self, menu_item):
     dialog = NewFolderDialog(self.parent, self.app, self.parent.path)
     dialog.run()
     dialog.destroy()
コード例 #3
0
 def on_mkdir_clicked(self, button):
     path = self.get_path()
     dialog = NewFolderDialog(self, self.app, path)
     dialog.run()
     dialog.destroy()
     self.reset()