mirror of
https://github.com/vlinkz/nix-software-center.git
synced 2024-09-11 13:35:27 +03:00
Refresh icons after installs
This commit is contained in:
parent
488f59dcf9
commit
72c4d50142
6
Cargo.lock
generated
6
Cargo.lock
generated
@ -1675,7 +1675,7 @@ checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
||||
[[package]]
|
||||
name = "nix-data"
|
||||
version = "0.0.2"
|
||||
source = "git+https://github.com/snowflakelinux/nix-data#8185976098e741698a625f3d90c13c3a66da74a9"
|
||||
source = "git+https://github.com/snowflakelinux/nix-data#31f6997311a16f9661820d8b5f74f41aa3d64eb7"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"brotli",
|
||||
@ -2957,9 +2957,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tokio-macros"
|
||||
version = "1.8.0"
|
||||
version = "1.8.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484"
|
||||
checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
|
@ -20,7 +20,7 @@ pkgs.stdenv.mkDerivation rec {
|
||||
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-FSSqtcjaUInx/dG1/k06XL9beG1vJBMnuWrhybi5n3g=";
|
||||
hash = "sha256-wvHw9EI0q2jBjzCUMVifeO7u1NGJesqFEWPmVhBMBW0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
@ -1401,6 +1401,7 @@ impl Component for PkgModel {
|
||||
}
|
||||
}
|
||||
PkgMsg::FinishedProcess(work) => {
|
||||
let _ = nix_data::utils::refreshicons();
|
||||
self.workqueue.remove(&work);
|
||||
trace!("WORK QUEUE: {}", self.workqueue.len());
|
||||
match work.pkgtype {
|
||||
|
@ -409,6 +409,7 @@ impl SimpleComponent for UpdatePageModel {
|
||||
self.updateworker.emit(UpdateAsyncHandlerMsg::UpdateAllRemove(userpkgs, syspkgs));
|
||||
}
|
||||
UpdatePageMsg::DoneWorking => {
|
||||
let _ = nix_data::utils::refreshicons();
|
||||
REBUILD_BROKER.send(RebuildMsg::FinishSuccess);
|
||||
sender.output(AppMsg::UpdateInstalledPkgs);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user