Function nvim_gtk::file_browser::update_dir_list [−][src]
fn update_dir_list(dir: &str, dir_list_model: &TreeStore, dir_list: &ComboBox)
Updates the dirctory list on top of the file browser.
The list represents the path the the current working directory. If the new cwd is a parent of the old one, the list is kept and only the active entry is updated. Otherwise, the list is replaced with the new path and the last entry is marked active.