fix hooks progression display

This commit is contained in:
guinux 2016-07-02 10:25:07 +02:00
parent 5019f66b86
commit 2285ad17fd
2 changed files with 6 additions and 1 deletions

View File

@ -1170,6 +1170,11 @@ namespace Pamac {
previous_percent = fraction; previous_percent = fraction;
progress_box.progressbar.fraction = fraction; progress_box.progressbar.fraction = fraction;
} }
string textbar = "%s/%s".printf (details[2], details[3]);
if (textbar != previous_textbar) {
previous_textbar = textbar;
progress_box.progressbar.text = textbar;
}
if (details[1] != "") { if (details[1] != "") {
detailed_action = details[1]; detailed_action = details[1];
} else { } else {