Beispiel #1
0
 def rename_files(self, a):
     row, index_path, index_text = a
     if rename_file_on_disk(row, index_path, index_text):
         old_bean = self.get_selected_bean()
         beans = FCache().cache_music_tree_beans[self.controls.tabhelper.get_current_page()]
         for bean in beans:
             if old_bean == bean:
                 bean.path = row[index_path]
                 bean.text = row[index_text]
                 break
Beispiel #2
0
 def rename_files(self, a):
     row, index_path, index_text = a
     if rename_file_on_disk(row, index_path, index_text):
         old_bean = self.get_selected_bean()
         beans = FCache().cache_music_tree_beans[
             self.controls.tabhelper.get_current_page()]
         for bean in beans:
             if old_bean == bean:
                 bean.path = row[index_path]
                 bean.text = row[index_text]
                 break
Beispiel #3
0
 def rename_files(self, a):
     row, index_path, index_text = a
     if rename_file_on_disk(row, index_path, index_text):
         self.save_tree()
Beispiel #4
0
 def rename_files(self, a):
     row, index_path, index_text = a
     if rename_file_on_disk(row, index_path, index_text):
         self.save_tree()