Lowered height of main window if config file were not found

pull/32/head
Ivan Dmitrievich Yartsev 11 months ago
parent 99c142d288
commit e08570afe7

@ -182,7 +182,7 @@
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=600;
if (__yon_main_window_config.height==0) __yon_main_window_config.height=300;
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;

Loading…
Cancel
Save