|
|
|
@ -1834,7 +1834,33 @@ void yon_main_window_complete(main_window *widgets){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GList *list = gtk_tree_view_get_columns(GTK_TREE_VIEW(widgets->MirrorTree));
|
|
|
|
|
|
|
|
for (guint i=0;i<g_list_length(list);i++){
|
|
|
|
|
|
|
|
yon_window_config_add_listener((GtkWidget*)g_list_nth_data(list,i),yon_char_append("MirrorColumn",yon_char_from_int(i)),"fixed-width",YON_TYPE_INT);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
g_list_free(list);
|
|
|
|
|
|
|
|
list = gtk_tree_view_get_columns(GTK_TREE_VIEW(widgets->PublicationTree));
|
|
|
|
|
|
|
|
for (guint i=0;i<g_list_length(list);i++){
|
|
|
|
|
|
|
|
yon_window_config_add_listener((GtkWidget*)g_list_nth_data(list,i),yon_char_append("PublishColumn",yon_char_from_int(i)),"fixed-width",YON_TYPE_INT);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
g_list_free(list);
|
|
|
|
|
|
|
|
list = gtk_tree_view_get_columns(GTK_TREE_VIEW(widgets->WebPublicationTree));
|
|
|
|
|
|
|
|
for (guint i=0;i<g_list_length(list);i++){
|
|
|
|
|
|
|
|
yon_window_config_add_listener((GtkWidget*)g_list_nth_data(list,i),yon_char_append("WebColumn",yon_char_from_int(i)),"fixed-width",YON_TYPE_INT);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
g_list_free(list);
|
|
|
|
|
|
|
|
list = gtk_tree_view_get_columns(GTK_TREE_VIEW(widgets->RepositoriesTree));
|
|
|
|
|
|
|
|
for (guint i=0;i<g_list_length(list);i++){
|
|
|
|
|
|
|
|
yon_window_config_add_listener((GtkWidget*)g_list_nth_data(list,i),yon_char_append("RepoColumn",yon_char_from_int(i)),"fixed-width",YON_TYPE_INT);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
g_list_free(list);
|
|
|
|
yon_load_proceed(YON_CONFIG_LOCAL);
|
|
|
|
yon_load_proceed(YON_CONFIG_LOCAL);
|
|
|
|
|
|
|
|
list = gtk_tree_view_get_columns(GTK_TREE_VIEW(widgets->UpdateRepoTree));
|
|
|
|
|
|
|
|
for (guint i=0;i<g_list_length(list);i++){
|
|
|
|
|
|
|
|
yon_window_config_add_listener((GtkWidget*)g_list_nth_data(list,i),yon_char_append("UpdateColumn",yon_char_from_int(i)),"fixed-width",YON_TYPE_INT);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
g_list_free(list);
|
|
|
|
yon_interface_update(widgets);
|
|
|
|
yon_interface_update(widgets);
|
|
|
|
|
|
|
|
|
|
|
|
g_signal_connect(G_OBJECT(widgets->BootCheck),"toggled",G_CALLBACK(on_toggle_button_toggled),widgets);
|
|
|
|
g_signal_connect(G_OBJECT(widgets->BootCheck),"toggled",G_CALLBACK(on_toggle_button_toggled),widgets);
|
|
|
|
|