ANNOUNCE: Task Manager 0.5.92 (1.0.0 beta3)
Thrash Dude
thrash.dude at gmail.com
Mon Jun 7 23:55:55 CEST 2010
Mike Massonnet wrote:
> Can you try the attached patch?
>
> Thank you
>
>
>
> 0001-linux-Fix-64-bit-issue-for-the-system-Memory-usage.patch
>
>
> From 1f0f24556abaf5052c34ef1d153906bc7878c27a Mon Sep 17 00:00:00 2001
> From: Live session user<ubuntu at ubuntu.(none)>
> Date: Mon, 7 Jun 2010 21:18:36 +0000
> Subject: [PATCH] [linux] Fix 64-bit issue for the system Memory usage
>
> ---
> src/task-manager-linux.c | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/src/task-manager-linux.c b/src/task-manager-linux.c
> index 938cee8..f329629 100644
> --- a/src/task-manager-linux.c
> +++ b/src/task-manager-linux.c
> @@ -30,6 +30,13 @@ get_memory_usage (guint64 *memory_total, guint64 *memory_free, guint64 *memory_c
> gchar *filename = "/proc/meminfo";
> gushort found = 0;
>
> + *memory_total = 0;
> + *memory_free = 0;
> + *memory_cache = 0;
> + *memory_buffers = 0;
> + *swap_total = 0;
> + *swap_free = 0;
> +
> if ((file = fopen (filename, "r")) == NULL)
> return FALSE;
>
>
>
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
Looks good.
xfce4-taskmanager shows 18.6x%
free -m shows 18.6x%
BTW, I love the looks, functionality .... everything of this new
release. The tray icon + tool tips are a great idea.
Thank you!
More information about the Xfce
mailing list