Fixed pool loading as repository

pull/108/head
parent 7035ef2480
commit 074144111b
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -11,6 +11,7 @@ void yon_storage_open_add_repos(char *storage_path, storage_config_window *windo
if (size){ if (size){
for (int i=0;i<size;i++){ for (int i=0;i<size;i++){
char *repo_name = repos[i]; char *repo_name = repos[i];
if (!strcmp(repo_name,"pool")) continue;
if (g_hash_table_lookup(storage->repos,repo_name)){ if (g_hash_table_lookup(storage->repos,repo_name)){
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),ALREADY_EXIST_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),ALREADY_EXIST_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
yon_ubl_status_highlight_incorrect(window->AddEntry); yon_ubl_status_highlight_incorrect(window->AddEntry);

Loading…
Cancel
Save