From owner-svn-ports-all@FreeBSD.ORG Wed Nov 13 08:47:52 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65F2FD0; Wed, 13 Nov 2013 08:47:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 560642EC0; Wed, 13 Nov 2013 08:47:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAD8lqQQ044755; Wed, 13 Nov 2013 08:47:52 GMT (envelope-from bsam@svn.freebsd.org) Received: (from bsam@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAD8lqpt044753; Wed, 13 Nov 2013 08:47:52 GMT (envelope-from bsam@svn.freebsd.org) Message-Id: <201311130847.rAD8lqpt044753@svn.freebsd.org> From: Boris Samorodov Date: Wed, 13 Nov 2013 08:47:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333664 - in head/x11/fbpanel: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 08:47:52 -0000 Author: bsam Date: Wed Nov 13 08:47:51 2013 New Revision: 333664 URL: http://svnweb.freebsd.org/changeset/ports/333664 Log: . increase CPU granularity from 1 sec. to 2 sec. to get more smooth results (the same difference as with "top -s1" vs "top -s2", look at idle state); . bump PORTREVISION. Modified: head/x11/fbpanel/Makefile head/x11/fbpanel/files/patch-plugins__cpu__cpu.c Modified: head/x11/fbpanel/Makefile ============================================================================== --- head/x11/fbpanel/Makefile Wed Nov 13 08:42:09 2013 (r333663) +++ head/x11/fbpanel/Makefile Wed Nov 13 08:47:51 2013 (r333664) @@ -3,7 +3,7 @@ PORTNAME= fbpanel PORTVERSION= 6.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= SF EXTRACT_SUFX= .tbz2 Modified: head/x11/fbpanel/files/patch-plugins__cpu__cpu.c ============================================================================== --- head/x11/fbpanel/files/patch-plugins__cpu__cpu.c Wed Nov 13 08:42:09 2013 (r333663) +++ head/x11/fbpanel/files/patch-plugins__cpu__cpu.c Wed Nov 13 08:47:51 2013 (r333664) @@ -82,3 +82,12 @@ #else static int cpu_get_load(cpu_priv *c) +@@ -109,7 +173,7 @@ + k->set_rows(&c->chart, 1, c->colors); + gtk_widget_set_tooltip_markup(((plugin_instance *)c)->pwid, "Cpu"); + cpu_get_load(c); +- c->timer = g_timeout_add(1000, (GSourceFunc) cpu_get_load, (gpointer) c); ++ c->timer = g_timeout_add(2000, (GSourceFunc) cpu_get_load, (gpointer) c); + RET(1); + } +