I'm afraid this was introduced with the passage from tabs to
spacing and broke the logic of the refresh of processes and of
display of the process attributes. Now looks much better.
Signed-off-by: Federico Pellegrin <fede(a)evolware.org>
---
tuna/gui/procview.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tuna/gui/procview.py b/tuna/gui/procview.py
index f4ccef5..9cd575c 100755
--- a/tuna/gui/procview.py
+++ b/tuna/gui/procview.py
@@ -455,6 +455,7 @@ class procview:
continue
# removed and its the last one
break
+ else:
try:
self.set_thread_columns(row, tid, threads[tid])
if "threads" in threads[tid]:
@@ -523,10 +524,10 @@ class procview:
ppid = self.tree_store.get_value(parent, self.COL_PID)
pid_info = self.ps[ppid].threads[pid]
- dialog = process_druid(self.ps, pid, pid_info, self.nr_cpus,
- self.gladefile)
- if dialog.run():
- self.refresh()
+ dialog = process_druid(self.ps, pid, pid_info, self.nr_cpus,
+ self.gladefile)
+ if dialog.run():
+ self.refresh()
def kthreads_view_toggled(self, a):
self.show_kthreads = not self.show_kthreads
--
2.26.3