|
|
|
|
@ -245,6 +245,14 @@
|
|
|
|
|
case YON_TYPE_STRING: g_key_file_set_string(__yon_window_config_file,section,param_name,(char*)tracked_value);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
GError *err = NULL;
|
|
|
|
|
if (!g_key_file_save_to_file(__yon_window_config_file,__yon_window_config_path,&err)){
|
|
|
|
|
printf("%s\n",err->message);
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
struct passwd *user = getpwnam(yon_ubl_root_user_get());
|
|
|
|
|
int chown_success = chown(__yon_window_config_path,user->pw_uid,user->pw_gid);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|