fix .files dl progress display

This commit is contained in:
guinux
2017-06-03 17:55:18 +02:00
parent cce87ba286
commit 7905b76f6d
2 changed files with 10 additions and 0 deletions

View File

@@ -1402,6 +1402,9 @@ namespace Pamac {
if (filename.has_suffix (".db")) {
string action = dgettext (null, "Refreshing %s").printf (filename.replace (".db", "")) + "...";
reset_progress_box (action);
} else if (filename.has_suffix (".files")) {
string action = dgettext (null, "Refreshing %s").printf (filename.replace (".files", "")) + "...";
reset_progress_box (action);
}
} else if (xfered == total) {
timer.stop ();