summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-15 01:28:49 -0800
committerStefano Karapetsas <[email protected]>2014-01-15 01:28:49 -0800
commit571da9fef3506c0b2061aa49e1f0456685285a1a (patch)
tree479b425914d063080e878c7e19306565c407f4d7
parentc6020ac3540ef295949f06f3353304012e004f23 (diff)
parent78cb7f86c8695a69ad13a839ef97bda43838a6b0 (diff)
downloadmate-applets-571da9fef3506c0b2061aa49e1f0456685285a1a.tar.bz2
mate-applets-571da9fef3506c0b2061aa49e1f0456685285a1a.tar.xz
Merge pull request #73 from r2rien/master
battstat applet: save panel space
-rw-r--r--battstat/battstat_applet.c4
1 files changed, 2 insertions, 2 deletions
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;