From 18833cb8c4c52155e055ef54d52dacc34d75d551 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 19 Dec 2014 00:38:30 +0100 Subject: Add a Process Properties dialog in MATE System Monitor Taken from GSM commit: 72546b7f3346fc0647a433529f3292050f15278f From: Krishnan Parthasarathi Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=543347 --- src/interface.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/interface.cpp') diff --git a/src/interface.cpp b/src/interface.cpp index f9428a4..b58123a 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -81,6 +81,9 @@ static const GtkActionEntry menu_entries[] = // Translators: this means 'Files that are open' (open is no verb here { "OpenFiles", NULL, N_("Open _Files"), "F", N_("View the files opened by a process"), G_CALLBACK (cb_show_open_files) }, + { "ProcessProperties", NULL, N_("_Properties"), NULL, + N_("View additional information about a process"), G_CALLBACK (cb_show_process_properties) }, + { "HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1", N_("Open the manual"), G_CALLBACK (cb_help_contents) }, @@ -158,6 +161,8 @@ static const char ui_info[] = " " " " " " + " " + " " " " " " " " @@ -184,6 +189,9 @@ static const char ui_info[] = " " " " " " + " " + " " + " "; @@ -848,7 +856,8 @@ update_sensitivity(ProcData *data) "KillProcess", "ChangePriority", "MemoryMaps", - "OpenFiles" }; + "OpenFiles", + "ProcessProperties" }; const char * const processes_actions[] = { "ShowActiveProcesses", "ShowAllProcesses", -- cgit v1.2.1