|
|
|
|
@ -920,6 +920,7 @@ void yon_main_window_create(main_window *widgets){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (main_config.force_ini){
|
|
|
|
|
while(gtk_events_pending()) gtk_main_iteration();
|
|
|
|
|
if (yon_configuration_path_check(main_config.config_save_path)){
|
|
|
|
|
GList *box = gtk_container_get_children(GTK_CONTAINER(widgets->ConfigurationModeMenuItem));
|
|
|
|
|
GList *children = gtk_container_get_children(GTK_CONTAINER(box->data));
|
|
|
|
|
@ -964,7 +965,7 @@ void *yon_maximize(main_window *widgets){
|
|
|
|
|
*/
|
|
|
|
|
main_window *yon_main_window_complete(){
|
|
|
|
|
if (main_config.force_ini){ //Check if config path exists
|
|
|
|
|
if (yon_configuration_path_check(main_config.config_save_path)){
|
|
|
|
|
if (!yon_char_is_empty(main_config.config_save_path)){
|
|
|
|
|
{
|
|
|
|
|
main_config.configure_mode=1;
|
|
|
|
|
}
|
|
|
|
|
@ -974,11 +975,6 @@ main_window *yon_main_window_complete(){
|
|
|
|
|
widgets = malloc(sizeof(main_window));
|
|
|
|
|
memset(widgets,0,sizeof(main_window));
|
|
|
|
|
yon_main_window_create(widgets);
|
|
|
|
|
|
|
|
|
|
// yon_set_locales_list(widgets);
|
|
|
|
|
// yon_main_window_update_locale(widgets);
|
|
|
|
|
// // yon_window_config_custom_window_setup(GTK_WINDOW(widgets->MainWindow),"MainWindow");
|
|
|
|
|
|
|
|
|
|
return widgets;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|