ProcessManager: Show some basic system memory stats below the process table.

This really improves the feeling of "system overview" :^)
This commit is contained in:
Andreas Kling 2019-03-10 12:13:22 +01:00
parent 8017c1e17c
commit 37388b311f
Notes: sideshowbarker 2024-07-19 15:05:34 +09:00
9 changed files with 158 additions and 9 deletions

View file

@ -24,8 +24,7 @@ void ProcessTableView::timer_event(GTimerEvent&)
void ProcessTableView::model_notification(const GModelNotification& notification)
{
if (notification.type() == GModelNotification::ModelUpdated) {
if (on_status_message)
on_status_message(String::format("%d processes", model()->row_count()));
// Do something?
return;
}
}