mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 20:29:42 +00:00
Make it possible to sort a GTableModel by column+order.
This is accomplished by putting a GSortingProxyTableModel between the model and the view. It's pretty simplistic but it works for this use case. :^)
This commit is contained in:
@@ -3,19 +3,6 @@
|
||||
#include <stdio.h>
|
||||
#include <pwd.h>
|
||||
|
||||
enum Column {
|
||||
Icon = 0,
|
||||
Name,
|
||||
CPU,
|
||||
State,
|
||||
Priority,
|
||||
User,
|
||||
PID,
|
||||
Linear,
|
||||
Physical,
|
||||
__Count
|
||||
};
|
||||
|
||||
ProcessTableModel::ProcessTableModel()
|
||||
{
|
||||
setpwent();
|
||||
|
||||
Reference in New Issue
Block a user