|
|
|
@ -982,6 +982,22 @@ void yon_main_window_create(main_window *widgets){
|
|
|
|
if (!yon_configuration_path_check(main_config.config_save_path)){
|
|
|
|
if (!yon_configuration_path_check(main_config.config_save_path)){
|
|
|
|
exit (1);
|
|
|
|
exit (1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (main_config.config_save_path){
|
|
|
|
|
|
|
|
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),CONFIGURATION_MODE_STATUS_LABEL,0,BACKGROUND_IMAGE_INFO_TYPE);
|
|
|
|
|
|
|
|
yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox2),CONFIG_PATH_LABEL(main_config.config_save_path),0,BACKGROUND_IMAGE_INFO_TYPE);
|
|
|
|
|
|
|
|
GList *revealerlist = gtk_container_get_children(GTK_CONTAINER(widgets->StatusBox2));
|
|
|
|
|
|
|
|
GList *list = gtk_container_get_children(GTK_CONTAINER(g_list_nth_data(revealerlist,0)));
|
|
|
|
|
|
|
|
GtkWidget *box = GTK_WIDGET(list->data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
g_list_free(revealerlist);
|
|
|
|
|
|
|
|
g_list_free(list);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gtk_style_context_remove_class(gtk_widget_get_style_context(box),"boxInfoMessOK");
|
|
|
|
|
|
|
|
gtk_style_context_add_class(gtk_widget_get_style_context(box),"boxInfoMessGray");
|
|
|
|
|
|
|
|
main_config.configure_mode = 1;
|
|
|
|
|
|
|
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->ConfigurationModeCheck),1);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char *command = yon_config_parameter_prepare_command(part_size_parameter_command,"default",NULL,NULL);
|
|
|
|
char *command = yon_config_parameter_prepare_command(part_size_parameter_command,"default",NULL,NULL);
|
|
|
|
|