|
|
|
@ -243,7 +243,7 @@ int yon_char_parsed_compare(const void *a, const void *b){
|
|
|
|
void on_storage_accept(GtkWidget *self, dictionary *dict){
|
|
|
|
void on_storage_accept(GtkWidget *self, dictionary *dict){
|
|
|
|
main_window *widgets = yon_dictionary_get_data(dict->first,main_window*);
|
|
|
|
main_window *widgets = yon_dictionary_get_data(dict->first,main_window*);
|
|
|
|
storage_config_window *window = yon_dictionary_get_data(dict->first->next,storage_config_window*);
|
|
|
|
storage_config_window *window = yon_dictionary_get_data(dict->first->next,storage_config_window*);
|
|
|
|
if (gtk_entry_get_text(GTK_ENTRY(window->AddEntry))){
|
|
|
|
if (!yon_char_is_empty(gtk_entry_get_text(GTK_ENTRY(window->AddEntry)))){
|
|
|
|
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),UNADDED_REPO_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),UNADDED_REPO_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
yon_ubl_status_highlight_incorrect(window->AddRepoButton);
|
|
|
|
yon_ubl_status_highlight_incorrect(window->AddRepoButton);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|