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_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)
示例#3
0
 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()
示例#5
0
 def on_mkdir_clicked(self, button):
     path = self.get_path()
     dialog = NewFolderDialog(self, self.app, path)
     dialog.run()
     dialog.destroy()
     self.reset()