Test fir for user autologin switching

pull/356/head
parent 1c713986e0
commit 6fb4b51054

@ -101,12 +101,13 @@ int yon_user_save(yon_user_struct *user){
return 1;
}
void on_user_autoloin_switch(GtkWidget *, int status, main_window *){
gboolean on_user_autoloin_switch(GtkWidget *, int status, main_window *){
if (status){
yon_config_register(autologin_parameter,autologin_parameter_command,"yes");
} else {
yon_config_register(autologin_parameter,autologin_parameter_command,"no");
}
return status;
}
void on_user_add(GtkWidget *,main_window *widgets){

@ -1619,4 +1619,4 @@ void on_status_update(GtkWidget *,main_window *widgets);
gboolean on_kernel_addon_menu_block(GObject *self, GdkEventButton *event);
void on_os_components_uncheck_all(GtkWidget *,main_window *widgets);
gboolean yon_os_components_load(main_window *widgets);
void on_user_autoloin_switch(GtkWidget *, int status, main_window *);
gboolean on_user_autoloin_switch(GtkWidget *, int status, main_window *);
Loading…
Cancel
Save