From owner-freebsd-gnome@FreeBSD.ORG Thu Nov 13 12:26:44 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCFA516A4CE for ; Thu, 13 Nov 2003 12:26:44 -0800 (PST) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF4E843FAF for ; Thu, 13 Nov 2003 12:26:43 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao06.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031113202642.PUDW24575.lakemtao06.cox.net@mezz.mezzweb.com>; Thu, 13 Nov 2003 15:26:42 -0500 Date: Thu, 13 Nov 2003 14:25:51 -0600 To: Franz Klammer References: <3FB3D6AE.9000608@webonaut.com> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <3FB3D6AE.9000608@webonaut.com> User-Agent: Opera7.21/Linux M2 build 497 cc: gnome@freebsd.org Subject: Re: ligdesklets/Memory.py - get swap-info X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 20:26:45 -0000 On Thu, 13 Nov 2003 20:08:30 +0100, Franz Klammer wrote: > year!! here the changes in ligdesklets/Memory.py > that makes swap display: Hoho, good job and looks like you have found a bug of it. Can you report to gdesklets bugzilla? I won't be able to do anything with FreeBSD for now until late tonight or tomorrow. I have few tasks that need to be finish. Thanks! :-) Cheers, Mezz > elif (mode == 1): > total, used, free = glibtop.get_mem()[:3] > > should changed to: > > elif (mode == 1): > total, used, free = glibtop.get_swap()[:3] > > franz. -- bsdforums.org 's moderator, mezz.