Beispiel #1
0
 def setup_download_location_combobox(self):
     download_location_box = self.glade.get_widget("download_location_box")
     self.download_location_path_chooser = PathChooser(
         "download_location_paths_list")
     self.download_location_path_chooser.set_filechooser_button_visible(
         client.is_localhost())
     download_location_box.add(self.download_location_path_chooser)
     download_location_box.show_all()
Beispiel #2
0
 def setup_move_completed_combobox(self):
     move_completed_box = self.glade.get_widget("move_completed_box")
     self.move_completed_path_chooser = PathChooser(
         "move_completed_paths_list")
     self.move_completed_path_chooser.set_filechooser_button_visible(
         client.is_localhost())
     self.move_completed_path_chooser.set_enable_properties(False)
     self.move_completed_path_chooser.set_enable_properties(True)
     move_completed_box.add(self.move_completed_path_chooser)
     move_completed_box.show_all()