From 30d5133a552bd42b23fc9911f9aeaf923e87a784 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 8 Jun 2026 18:11:12 +0600 Subject: [PATCH] Added separate root status message --- source/ubl-settings-resourcequota.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/ubl-settings-resourcequota.c b/source/ubl-settings-resourcequota.c index 9c9158b..6f863bb 100644 --- a/source/ubl-settings-resourcequota.c +++ b/source/ubl-settings-resourcequota.c @@ -1361,14 +1361,10 @@ int main(int argc, char *argv[]){ main_config.launch_arguments=yon_char_parsed_copy(argv,argc); main_config.launch_size=argc; + yon_window_check_root_message(widgets); yon_main_window_complete((main_window*)widgets); char *path = yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",LocaleName,"/",LocaleName,".conf",NULL); yon_window_config_load(path); - if (getuid()!=0){ - textdomain(template_ui_LocaleName); - yon_ubl_status_box_render(ROOT_WARNING_LABEL,BACKGROUND_IMAGE_FAIL_TYPE); - textdomain(LocaleName); - } gtk_main(); return 0; } \ No newline at end of file