|
|
|
|
@ -325,12 +325,11 @@ gboolean yon_terminal_get_progress(main_window *widgets){
|
|
|
|
|
|
|
|
|
|
if (target){
|
|
|
|
|
int i;
|
|
|
|
|
for (i=0;target[i];i++){
|
|
|
|
|
for (i=0;target[i+1];i++){};
|
|
|
|
|
target[i][strlen(target[i])-1]='\0';
|
|
|
|
|
percentage = atof(target[i]);
|
|
|
|
|
yon_debug_output("%s\n",target[i]);
|
|
|
|
|
}
|
|
|
|
|
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress),percentage/i/100);
|
|
|
|
|
gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(widgets->InstallationProgress),percentage/100);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
g_match_info_unref(match);
|
|
|
|
|
|