[gnome-usage/tracker-powered-storage-view-wip] storage: Fix segfault or critical error after delelete file
- From: Petr Štětka <pstetka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage/tracker-powered-storage-view-wip] storage: Fix segfault or critical error after delelete file
- Date: Tue, 9 Oct 2018 13:37:39 +0000 (UTC)
commit b50a34d8b802b4fe51595aed55194ea513681f37
Author: Petr Štětka <pstetka redhat com>
Date: Tue Oct 9 15:15:54 2018 +0200
storage: Fix segfault or critical error after delelete file
Fix segfault crash or gnome critical error after delete some file and
then return up in the file hierarchy.
src/storage/storage-view.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/storage/storage-view.vala b/src/storage/storage-view.vala
index 47e8832..95f1fb8 100644
--- a/src/storage/storage-view.vala
+++ b/src/storage/storage-view.vala
@@ -295,6 +295,7 @@ public class Usage.NewStorageView : Usage.View {
available_graph_item.custom_type = "available-graph";
available_graph_item.percentage = available_graph_item.size * 100 / (double) total_size;
model.append(available_graph_item);
+ graph.model = model;
}
private void refresh_actionbar() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]