|
|
|
@ -443,7 +443,7 @@ void on_config_save(GtkWidget *self, main_window *widgets){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
char *old_final = yon_char_parsed_to_string(old_parsed,old_size,":");
|
|
|
|
char *old_final = yon_char_parsed_to_string(old_parsed,old_size,":");
|
|
|
|
char *new_final = yon_char_parsed_to_string(new_parsed,new_size,":");
|
|
|
|
char *new_final = yon_char_parsed_to_string(new_parsed,new_size,":");
|
|
|
|
if (!strcmp(old_final,new_final)){
|
|
|
|
if (old_final&&new_final&&!strcmp(old_final,new_final)){
|
|
|
|
gtk_list_store_set(window->list,&iter,5,0,-1);
|
|
|
|
gtk_list_store_set(window->list,&iter,5,0,-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
free(old_final);
|
|
|
|
free(old_final);
|
|
|
|
@ -2349,7 +2349,6 @@ ubl_settings_usergroups_user_window *yon_ubl_settings_usergroups_user_new(){
|
|
|
|
window->userTitleNameLabel=yon_gtk_builder_get_widget(builder,"userTitleNameLabel");
|
|
|
|
window->userTitleNameLabel=yon_gtk_builder_get_widget(builder,"userTitleNameLabel");
|
|
|
|
window->expiration_unix=NULL;
|
|
|
|
window->expiration_unix=NULL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
time_t t = time(NULL);
|
|
|
|
time_t t = time(NULL);
|
|
|
|
struct tm tm = *localtime(&t);
|
|
|
|
struct tm tm = *localtime(&t);
|
|
|
|
gtk_calendar_select_day(GTK_CALENDAR(window->ExpirationCalendar),tm.tm_mday);
|
|
|
|
gtk_calendar_select_day(GTK_CALENDAR(window->ExpirationCalendar),tm.tm_mday);
|
|
|
|
|