|
|
|
@ -8,6 +8,7 @@ int yon_load_proceed(YON_CONFIG_TYPE type){
|
|
|
|
yon_config_clean();
|
|
|
|
yon_config_clean();
|
|
|
|
yon_config_load_config(YON_CONFIG_DEFAULT,config_get_default_command,NULL);
|
|
|
|
yon_config_load_config(YON_CONFIG_DEFAULT,config_get_default_command,NULL);
|
|
|
|
if (type==YON_CONFIG_GLOBAL){
|
|
|
|
if (type==YON_CONFIG_GLOBAL){
|
|
|
|
|
|
|
|
yon_debug_output("%s\n",yon_char_unite(config_get_command("global"),NULL));
|
|
|
|
yon_config_load_config(type,config_get_command("global"),NULL);
|
|
|
|
yon_config_load_config(type,config_get_command("global"),NULL);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (type==YON_CONFIG_LOCAL){
|
|
|
|
if (type==YON_CONFIG_LOCAL){
|
|
|
|
@ -80,7 +81,7 @@ void yon_interface_update(main_window *widgets){
|
|
|
|
int size;
|
|
|
|
int size;
|
|
|
|
GtkTreeIter iter;
|
|
|
|
GtkTreeIter iter;
|
|
|
|
char *def_groups = yon_config_get_by_key(USERGROUPS_parameter);
|
|
|
|
char *def_groups = yon_config_get_by_key(USERGROUPS_parameter);
|
|
|
|
config_str users = yon_config_get_all_by_key(USERADD_parameter,&size);
|
|
|
|
config_str users = yon_config_get_all_by_key(USERADD_SEARCH_macro,&size);
|
|
|
|
if (users){
|
|
|
|
if (users){
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
gtk_list_store_append(widgets->UsersList,&iter);
|
|
|
|
gtk_list_store_append(widgets->UsersList,&iter);
|
|
|
|
|