Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 08:47:51 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333664 - in head/x11/fbpanel: . files
Message-ID:  <201311130847.rAD8lqpt044753@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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, "<b>Cpu</b>");
+     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);
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311130847.rAD8lqpt044753>