[Xfce4-commits] <xfce4-cpugraph-plugin:master> Repalce xfce4-taskmanager by top
Florian Rivoal
noreply at xfce.org
Mon Apr 19 08:10:01 CEST 2010
Updating branch refs/heads/master
to d18d5110a98615a05cd4e2abd75ae6cfedec0b8d (commit)
from 1e731c3db3b6e0e4b98e9e46ac6b8d5a82eddba3 (commit)
commit d18d5110a98615a05cd4e2abd75ae6cfedec0b8d
Author: Florian Rivoal <frivoal at gmail.com>
Date: Mon Apr 19 15:04:53 2010 +0900
Repalce xfce4-taskmanager by top
xfce4-taskmanager is not always installed, and isn't even properly
available on non linux systems, so having a dependency on it isn't too
nice. Instead of it, launch top in a terminal when the plugin is
clicked. This is user configurable, so this change only affects the
default.
panel-plugin/settings.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/settings.c b/panel-plugin/settings.c
index 85e6739..0c90779 100644
--- a/panel-plugin/settings.c
+++ b/panel-plugin/settings.c
@@ -14,9 +14,9 @@ void read_settings( XfcePanelPlugin * plugin, CPUGraph * base )
gboolean frame = TRUE;
gboolean border = TRUE;
gboolean bars = TRUE;
- const gchar *associated_command = "xfce4-taskmanager";
- gboolean in_terminal = FALSE;
- gboolean startup_notification = TRUE;
+ const gchar *associated_command = "top";
+ gboolean in_terminal = TRUE;
+ gboolean startup_notification = FALSE;
GdkColor foreground1;
GdkColor foreground2;
More information about the Xfce4-commits
mailing list