From 78cb7f86c8695a69ad13a839ef97bda43838a6b0 Mon Sep 17 00:00:00 2001 From: r2rien Date: Sat, 4 Jan 2014 14:57:10 +0100 Subject: battstat applet: save panel space using an empty label instead of -:-- when fully charged or unknown --- battstat/battstat_applet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'battstat') diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c index 6b049458..6a452433 100644 --- a/battstat/battstat_applet.c +++ b/battstat/battstat_applet.c @@ -854,9 +854,9 @@ update_percent_label( ProgressData *battstat, BatteryStatus *info ) new_label = g_strdup_printf ("%d%%", info->percent); else if (info->present && battstat->showtext == APPLET_SHOW_TIME) { - /* Fully charged or unknown (-1) time remaining displays -:-- */ + /* Fully charged or unknown (-1) time remaining display none */ if ((info->on_ac_power && info->percent == 100) || info->minutes < 0) - new_label = g_strdup ("-:--"); + new_label = g_strdup (""); else { int time; -- cgit v1.2.1