|
|
|
|
@ -181,8 +181,8 @@
|
|
|
|
|
}
|
|
|
|
|
g_object_set_property(G_OBJECT(param->track_widget),param->property_name,val);
|
|
|
|
|
}
|
|
|
|
|
if (__yon_main_window_config.width==0) __yon_main_window_config.width=800;
|
|
|
|
|
if (__yon_main_window_config.height==0) __yon_main_window_config.height=300;
|
|
|
|
|
if (__yon_main_window_config.width==0) gtk_window_get_size(GTK_WINDOW(__yon_window_config_target_window),&__yon_main_window_config.width,NULL);
|
|
|
|
|
if (__yon_main_window_config.height==0) gtk_window_get_size(GTK_WINDOW(__yon_window_config_target_window),NULL,&__yon_main_window_config.height);
|
|
|
|
|
gtk_window_resize(__yon_window_config_target_window,__yon_main_window_config.width,__yon_main_window_config.height);
|
|
|
|
|
gtk_window_move(__yon_window_config_target_window,__yon_main_window_config.x,__yon_main_window_config.y);
|
|
|
|
|
pthread_t tid;
|
|
|
|
|
@ -279,6 +279,8 @@
|
|
|
|
|
if (err) return 0; else return 1;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
g_error("Window configuration were not set");
|
|
|
|
|
}
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|