|
|
|
|
@ -1060,10 +1060,14 @@ void on_expiration_clicked(GtkWidget *self, ubl_settings_usergroups_user_window
|
|
|
|
|
} else {
|
|
|
|
|
yon_config_append(USERADD_SYNC_parameter,"boot",",");
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (!strcmp(config(USERADD_SYNC_parameter),"boot")){
|
|
|
|
|
yon_config_remove_by_key(USERADD_SYNC_parameter);
|
|
|
|
|
} else {
|
|
|
|
|
yon_config_remove_element(USERADD_SYNC_parameter,"boot",",");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void on_users_shutdown_toggled(GtkToggleButton *self){
|
|
|
|
|
if (gtk_toggle_button_get_active(self)){
|
|
|
|
|
@ -1073,10 +1077,14 @@ void on_expiration_clicked(GtkWidget *self, ubl_settings_usergroups_user_window
|
|
|
|
|
} else {
|
|
|
|
|
yon_config_append(USERADD_SYNC_parameter,"shutdown",",");
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (!strcmp(config(USERADD_SYNC_parameter),"shutdown")){
|
|
|
|
|
yon_config_remove_by_key(USERADD_SYNC_parameter);
|
|
|
|
|
} else {
|
|
|
|
|
yon_config_remove_element(USERADD_SYNC_parameter,"shutdown",",");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ubl_settings_usergroups_additional_settings_window *yon_ubl_settings_usergroups_additional_settings_new(){
|
|
|
|
|
ubl_settings_usergroups_additional_settings_window *window = malloc(sizeof(ubl_settings_usergroups_additional_settings_window));
|
|
|
|
|
|