|
|
|
|
@ -129,9 +129,11 @@ gboolean yon_progress_bar_start(main_window *widgets){
|
|
|
|
|
widgets->install_info_monitor = g_file_monitor_file(file_desc,G_FILE_MONITOR_NONE,NULL,NULL);
|
|
|
|
|
g_signal_connect(G_OBJECT(widgets->install_info_monitor),"changed",G_CALLBACK(yon_installation_progress_update),widgets);
|
|
|
|
|
g_object_unref(file_desc);
|
|
|
|
|
FILE *file = fopen(progress_path,"w");
|
|
|
|
|
if (file){
|
|
|
|
|
fclose(file);
|
|
|
|
|
if (access(progress_path,F_OK)){
|
|
|
|
|
FILE *file = fopen(progress_path,"w");
|
|
|
|
|
if (file){
|
|
|
|
|
fclose(file);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return G_SOURCE_REMOVE;
|
|
|
|
|
}
|