From 8b3e0196b7a5be00c99252c7e0a4b9542fdc017b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 13 Sep 2007 13:32:51 -0400 Subject: [PATCH] fix a bug that broke the activity ring --- shell/view/home/proc_smaps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/view/home/proc_smaps.py b/shell/view/home/proc_smaps.py index 47a5fe5f..6e1680f7 100755 --- a/shell/view/home/proc_smaps.py +++ b/shell/view/home/proc_smaps.py @@ -94,7 +94,8 @@ def get_mappings(pid, ignored_shared_mappings): shared_clean = int(lines[line_idx + 3][14:-3]) shared_dirty = int(lines[line_idx + 4][14:-3]) - mapping = Mapping(name, private, shared) + mapping = Mapping(name, private_clean + private_dirty, + shared_clean + shared_dirty) mappings.append (mapping) return mappings