Fixed project building

pull/48/head
Ivan Yartsev 2 years ago
parent 95a717c59a
commit ea070d3e1d

@ -433,8 +433,7 @@ void on_config_load_local(){
}
void yon_save_proceed(char *path, char *section){
if (yon_config_save_registered(path,section))
else
yon_config_save_registered(path,section);
}
@ -1147,6 +1146,10 @@ main_window *setup_window(){
yon_window_config_add_listener(widgets->ShowAllCheck,"ProcessShowAll","active",YON_TYPE_BOOLEAN);
yon_window_config_add_listener(widgets->ShowCoreCheck,"ProcessShowCore","active",YON_TYPE_BOOLEAN);
yon_window_config_add_listener(widgets->DispatcherUpdateSpin,"DispatcherUpdateDelay","value",YON_TYPE_DOUBLE);
GList *list = gtk_tree_view_get_columns(GTK_TREE_VIEW(widgets->MainTree));
for (int i=0;i<g_list_length(list);i++){
yon_window_config_add_listener((GtkWidget*)g_list_nth_data(list,i),yon_char_append("column",yon_char_from_int(i)),"fixed-width",YON_TYPE_INT);
}
main_config.users = yon_ubl_get_all_users(&main_config.users_size);
main_config.processes = yon_ubl_get_all_processes(&main_config.processes_size);
main_config.slices = yon_ubl_get_all_slices(&main_config.slices_size);

Loading…
Cancel
Save