From 28272621b0de3948bc5931d2e0ef0c6f53af5a4c Mon Sep 17 00:00:00 2001 From: o9000 Date: Fri, 7 Aug 2015 08:22:54 +0200 Subject: [PATCH] battery: Capitalize AC state in tooltips --- src/battery/freebsd.c | 2 +- src/battery/linux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/battery/freebsd.c b/src/battery/freebsd.c index e8d5355..00165a5 100644 --- a/src/battery/freebsd.c +++ b/src/battery/freebsd.c @@ -87,7 +87,7 @@ char* battery_os_tooltip() { g_string_append_c(tooltip, '\n'); g_string_append_printf(tooltip, "AC\n"); - g_string_append_printf(tooltip, battery_state.ac_connected ? "\tconnected" : "\tdisconnected"); + g_string_append_printf(tooltip, battery_state.ac_connected ? "\tConnected" : "\tDisconnected"); result = tooltip->str; g_string_free(tooltip, FALSE); diff --git a/src/battery/linux.c b/src/battery/linux.c index f2ba53e..cf26a44 100644 --- a/src/battery/linux.c +++ b/src/battery/linux.c @@ -463,7 +463,7 @@ char* battery_os_tooltip() { g_string_append_c(tooltip, '\n'); g_string_append_printf(tooltip, "%s\n", ac->name); - g_string_append_printf(tooltip, ac->online ? "\tconnected" : "\tdisconnected"); + g_string_append_printf(tooltip, ac->online ? "\tConnected" : "\tDisconnected"); } result = tooltip->str;