Expanders open after package addition

pull/7/head
parent 883ce7250a
commit 7b7bed889d

@ -514,6 +514,7 @@ void yon_add_file(main_window *widgets){
else if (strstr(p,"Architecture")) packarch = yon_char_new(cur_string);
}
GtkTreeIter *iter = yon_repo_append(widgets,filename,YON_REPO_LINE_FILE_TYPE);
gtk_tree_view_expand_to_path(GTK_TREE_VIEW(widgets->RepoTree),gtk_tree_model_get_path(GTK_TREE_MODEL(main_config.tree_store),iter));
gtk_tree_store_set(main_config.tree_store,iter,0,document_added,11,packname,12,packver,13,packarch,-1);
}

Loading…
Cancel
Save