another try to fix #37, please test and report

This commit is contained in:
guinux
2015-03-27 16:31:07 +01:00
parent 147b8d04c8
commit c578e6bee9
4 changed files with 46 additions and 38 deletions

View File

@@ -1368,8 +1368,12 @@ namespace Pamac {
Source.remove (pulse_timeout_id);
to_build.steal_all ();
build_status = status;
var err = ErrorInfos ();
on_trans_commit_finished (err);
// let the time to the daemon to update packages
Timeout.add (1000, () => {
var err = ErrorInfos ();
on_trans_commit_finished (err);
return false;
});
}
void on_write_pamac_config_finished (int refresh_period, bool aur_enabled, bool recurse) {