|
|
|
@ -5,6 +5,11 @@ void on_ringtone_accept(GtkWidget *,dictionary *dict){
|
|
|
|
yon_ringtone_window *window = yon_dictionary_get_data(dict->first->next,yon_ringtone_window*);
|
|
|
|
yon_ringtone_window *window = yon_dictionary_get_data(dict->first->next,yon_ringtone_window*);
|
|
|
|
const char *username = gtk_entry_get_text(GTK_ENTRY(window->NameEntry));
|
|
|
|
const char *username = gtk_entry_get_text(GTK_ENTRY(window->NameEntry));
|
|
|
|
const char *password = gtk_entry_get_text(GTK_ENTRY(window->CodeEntry));
|
|
|
|
const char *password = gtk_entry_get_text(GTK_ENTRY(window->CodeEntry));
|
|
|
|
|
|
|
|
if (yon_char_is_empty(username)){
|
|
|
|
|
|
|
|
yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),EMPTY_IMPORTANT_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
|
|
|
yon_ubl_status_highlight_incorrect(window->NameEntry);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (yon_char_is_empty(window->prev_name)){
|
|
|
|
if (yon_char_is_empty(window->prev_name)){
|
|
|
|
GtkTreeIter iter;
|
|
|
|
GtkTreeIter iter;
|
|
|
|
GtkTreeModel *model = GTK_TREE_MODEL(widgets->BootUsersList);
|
|
|
|
GtkTreeModel *model = GTK_TREE_MODEL(widgets->BootUsersList);
|
|
|
|
|