diff --git a/source/ubl-settings-usergroups.c b/source/ubl-settings-usergroups.c index ee8888f..b1539cb 100644 --- a/source/ubl-settings-usergroups.c +++ b/source/ubl-settings-usergroups.c @@ -8,6 +8,7 @@ int yon_load_proceed(YON_CONFIG_TYPE type){ yon_config_clean(); yon_config_load_config(YON_CONFIG_DEFAULT,config_get_default_command,NULL); 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); } if (type==YON_CONFIG_LOCAL){ @@ -80,7 +81,7 @@ void yon_interface_update(main_window *widgets){ int size; GtkTreeIter iter; 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){ for (int i=0;iUsersList,&iter);