|
|
|
|
@ -1014,17 +1014,14 @@ gboolean yon_installation_progress_update(void *data) {
|
|
|
|
|
main_window *widgets = (main_window*)data;
|
|
|
|
|
int size;
|
|
|
|
|
|
|
|
|
|
printf("\n\nCheck buzy\n\n");
|
|
|
|
|
while (main_config.log_progress_buzy) {
|
|
|
|
|
while (gtk_events_pending()) gtk_main_iteration();
|
|
|
|
|
}
|
|
|
|
|
main_config.log_progress_buzy = 1;
|
|
|
|
|
config_str text = yon_file_open(progress_path, &size);
|
|
|
|
|
main_config.log_progress_buzy = 0;
|
|
|
|
|
printf("\n\ncycle\n\n");
|
|
|
|
|
|
|
|
|
|
if (size) {
|
|
|
|
|
printf("%s\n\n\n\n\n",text[size-1]);
|
|
|
|
|
if (!yon_char_is_empty(text[size-1]) && text[size-1][0] == '(') {
|
|
|
|
|
char *current_copy = yon_char_new(text[size-1]);
|
|
|
|
|
char *percentage = yon_char_divide_search(current_copy, ")", -1);
|
|
|
|
|
|