Пример #1
0
 def folder_button_clicked(self, w):
     common.open_file_directory(self.field.get_text())
Пример #2
0
def _open_directory_cb(widget, name, parent, context, get_tracks_func):
    try:
        track = get_tracks_func(parent, context)[0]
    except IndexError:
        return
    common.open_file_directory(track.get_loc_for_io())
Пример #3
0
 def folder_button_clicked(self, w):
     common.open_file_directory(self.field.get_text().decode('utf-8'))
Пример #4
0
def _open_directory_cb(widget, name, parent, context, get_tracks_func):
    try:
        track = get_tracks_func(parent, context)[0]
    except IndexError:
        return
    common.open_file_directory(track.get_loc_for_io())
Пример #5
0
 def show_logs_directory(*args):
     common.open_file_directory(os.path.join(xdg.get_logs_dir(), 'exaile.log'))
Пример #6
0
 def show_logs_directory(*args):
     common.open_file_directory(
         os.path.join(xdg.get_logs_dir(), 'exaile.log'))