[gnome-software/gnome-3-22] trivial: Rescan the AppStream store when remotes have been removed
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] trivial: Rescan the AppStream store when remotes have been removed
- Date: Tue, 7 Mar 2017 16:35:05 +0000 (UTC)
commit 7166c4fae3f5d6f435dea0e8d66f55401468ff26
Author: Richard Hughes <richard hughsie com>
Date: Fri Feb 24 20:00:53 2017 +0000
trivial: Rescan the AppStream store when remotes have been removed
src/plugins/gs-flatpak.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 31e4c65..d51a566 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -2093,6 +2093,8 @@ gs_flatpak_app_remove (GsFlatpak *self,
gs_app_set_state_recover (app);
return FALSE;
}
+ if (!gs_flatpak_rescan_appstream_store (self, cancellable, error))
+ return FALSE;
}
/* state is not known: we don't know if we can re-install this app */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]