battery: Capitalize AC state in tooltips

This commit is contained in:
o9000 2015-08-07 08:22:54 +02:00
parent 61d786cf4f
commit 28272621b0
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;