diff options
author | infirit <[email protected]> | 2014-12-19 00:38:30 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-19 00:48:47 +0100 |
commit | 18833cb8c4c52155e055ef54d52dacc34d75d551 (patch) | |
tree | 959af84c41016586b55be3ab2e6a27b9c8b54a35 /src/callbacks.cpp | |
parent | 51357cc58ed32763b7eaff97d9ba04507ac0665d (diff) | |
download | mate-system-monitor-18833cb8c4c52155e055ef54d52dacc34d75d551.tar.bz2 mate-system-monitor-18833cb8c4c52155e055ef54d52dacc34d75d551.tar.xz |
Add a Process Properties dialog in MATE System Monitor
Taken from GSM commit: 72546b7f3346fc0647a433529f3292050f15278f
From: Krishnan Parthasarathi <[email protected]>
Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=543347
Diffstat (limited to 'src/callbacks.cpp')
-rw-r--r-- | src/callbacks.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp index 0399834..4540dba 100644 --- a/src/callbacks.cpp +++ b/src/callbacks.cpp @@ -34,6 +34,7 @@ #include "procdialogs.h" #include "memmaps.h" #include "openfiles.h" +#include "procproperties.h" #include "load-graph.h" #include "disks.h" #include "lsof.h" @@ -137,6 +138,13 @@ cb_show_open_files (GtkAction *action, gpointer data) } void +cb_show_process_properties (GtkAction *action, gpointer data) +{ + ProcData *procdata = static_cast<ProcData*>(data); + create_procproperties_dialog (procdata); +} + +void cb_show_lsof(GtkAction *action, gpointer data) { ProcData *procdata = static_cast<ProcData*>(data); |