aboutsummaryrefslogtreecommitdiff
path: root/x11/bmpanel2
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-08 10:09:45 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-08 10:09:45 +0000
commit2a11fcacfdae07b02c72442174968c91a543ed1a (patch)
treed79c7bd393134c530c8ad976f519f00e405946ca /x11/bmpanel2
parent3a23c545222c2550a70e111b63b5d36a2bddc80b (diff)
downloadports-2a11fcacfdae07b02c72442174968c91a543ed1a.tar.gz
ports-2a11fcacfdae07b02c72442174968c91a543ed1a.zip
Notes
Diffstat (limited to 'x11/bmpanel2')
-rw-r--r--x11/bmpanel2/files/extra-patch-temperature-widget8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/bmpanel2/files/extra-patch-temperature-widget b/x11/bmpanel2/files/extra-patch-temperature-widget
index 99b077fcd72d..6c20ac04b134 100644
--- a/x11/bmpanel2/files/extra-patch-temperature-widget
+++ b/x11/bmpanel2/files/extra-patch-temperature-widget
@@ -24,7 +24,7 @@
extern struct widget_interface clock_interface;
/**************************************************************************
-+ ACPI TZ Temperature (CPU)
++ Temperature (for CPU, etc.)
+**************************************************************************/
+
+struct temperature_widget {
@@ -70,7 +70,7 @@
+int curtemp;
+
+/**************************************************************************
-+ TZ Temp "theme" (widget, really)
++ Temperature "theme" (widget, really)
+**************************************************************************/
+
+static int parse_temperature_theme(struct temperature_widget *tw,
@@ -87,7 +87,7 @@
+}
+
+/**************************************************************************
-+ TZ Temp interface
++ Temperature interface
+**************************************************************************/
+
+static int create_widget_private(struct widget *w,
@@ -105,7 +105,7 @@
+ int pics_width = 0;
+
+ /* this should give us enough width for any real temperature */
-+ char buftemp[8] = "999°";
++ char buftemp[8] = "99°";
+
+ text_extents(w->panel->layout, tw->font.pfd, buftemp, &text_width, 0);
+