aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-03-08 18:09:45 +0800
committerdanfe <danfe@FreeBSD.org>2013-03-08 18:09:45 +0800
commit760e86b81a6d64338d3ab043abbb10751cb08187 (patch)
treed79c7bd393134c530c8ad976f519f00e405946ca /x11
parent7af940f45ed7faaefe5e12b1e0e352956131b476 (diff)
downloadfreebsd-ports-gnome-760e86b81a6d64338d3ab043abbb10751cb08187.tar.gz
freebsd-ports-gnome-760e86b81a6d64338d3ab043abbb10751cb08187.tar.zst
freebsd-ports-gnome-760e86b81a6d64338d3ab043abbb10751cb08187.zip
Some minor cosmetic changes to the unofficial patch.
Diffstat (limited to 'x11')
-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);
+