|
|
|
@ -14,7 +14,14 @@ void on_delete_system_user(GtkWidget *, dictionary *dict){
|
|
|
|
else command = delete_home_status?remove_user_and_homedir_from_system_command(target):remove_user_from_system_command(target);
|
|
|
|
else command = delete_home_status?remove_user_and_homedir_from_system_command(target):remove_user_from_system_command(target);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!yon_char_is_empty(command)){
|
|
|
|
if (!yon_char_is_empty(command)){
|
|
|
|
yon_launch(yon_debug_output("%s\n",command));
|
|
|
|
if (system(yon_debug_output("%s\n",command))){
|
|
|
|
|
|
|
|
yon_ubl_status_box_render(USER_REMOVE_ERROR,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
textdomain(template_ui_LocaleName);
|
|
|
|
|
|
|
|
yon_ubl_status_box_render(SUCCESS_LABEL,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
|
|
|
textdomain(LocalePath);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
on_subwindow_close(dialog->Window);
|
|
|
|
on_subwindow_close(dialog->Window);
|
|
|
|
yon_system_load(widgets);
|
|
|
|
yon_system_load(widgets);
|
|
|
|
@ -34,7 +41,14 @@ void on_delete_system_group(GtkWidget *, dictionary *dict){
|
|
|
|
else command = remove_group_from_system_command(target);
|
|
|
|
else command = remove_group_from_system_command(target);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!yon_char_is_empty(command)){
|
|
|
|
if (!yon_char_is_empty(command)){
|
|
|
|
yon_launch(yon_debug_output("%s\n",command));
|
|
|
|
if (system(yon_debug_output("%s\n",command))){
|
|
|
|
|
|
|
|
yon_ubl_status_box_render(USER_REMOVE_ERROR,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
textdomain(template_ui_LocaleName);
|
|
|
|
|
|
|
|
yon_ubl_status_box_render(SUCCESS_LABEL,BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
|
|
|
textdomain(LocalePath);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
on_subwindow_close(dialog->Window);
|
|
|
|
on_subwindow_close(dialog->Window);
|
|
|
|
yon_system_load(widgets);
|
|
|
|
yon_system_load(widgets);
|
|
|
|
|