Changed restricted symbols

pull/278/head
parent 860e2a2743
commit c9e81e8c70
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -31,6 +31,8 @@ ubl_settings_usergroups_group_creation_window *yon_ubl_settings_usergroups_group
gtk_window_set_title(GTK_WINDOW(window->CreateGroupWindow),GROUPS_TITLE_LABEL); gtk_window_set_title(GTK_WINDOW(window->CreateGroupWindow),GROUPS_TITLE_LABEL);
// yon_on_entry_set_allowed_symbols(GTK_ENTRY(window->userGroupsEntry),"abcdefghijklmnopqrstuvwxyz1234567890");
yon_on_entry_set_allowed_symbols(GTK_ENTRY(window->userLoginEntry),"abcdefghijklmnopqrstuvwxyz1234567890");
on_GID_update(NULL,window); on_GID_update(NULL,window);
dictionary *entry_dict=NULL; dictionary *entry_dict=NULL;
yon_dictionary_add_or_create_if_exists_with_data(entry_dict,"combo",window->PasswordCombo); yon_dictionary_add_or_create_if_exists_with_data(entry_dict,"combo",window->PasswordCombo);

@ -185,8 +185,8 @@ ubl_settings_usergroups_user_window *yon_ubl_settings_usergroups_user_new(){
window->MainNotebook=yon_gtk_builder_get_widget(builder,"MainNotebook"); window->MainNotebook=yon_gtk_builder_get_widget(builder,"MainNotebook");
window->expiration_unix=NULL; window->expiration_unix=NULL;
window->last_uid=NULL; window->last_uid=NULL;
yon_gtk_entry_block_symbols(GTK_ENTRY(window->userUserNameEntry),"[]()\'\":"); yon_on_entry_set_allowed_symbols(GTK_ENTRY(window->userUserNameEntry),"abcdefghijklmnopqrstuvwxyz1234567890");
yon_gtk_entry_block_symbols(GTK_ENTRY(window->userLoginEntry),"[]()\'\":"); yon_on_entry_set_allowed_symbols(GTK_ENTRY(window->userLoginEntry),"abcdefghijklmnopqrstuvwxyz1234567890");
time_t t = time(NULL); time_t t = time(NULL);
struct tm tm = *localtime(&t); struct tm tm = *localtime(&t);

Loading…
Cancel
Save