svn commit: r333664 - in head/x11/fbpanel: . files
Boris Samorodov
bsam at FreeBSD.org
Wed Nov 13 08:47:52 UTC 2013
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);
+ }
+
More information about the svn-ports-head
mailing list