battery: Capitalize AC state in tooltips
This commit is contained in:
parent
61d786cf4f
commit
28272621b0
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ char* battery_os_tooltip() {
|
||||||
|
|
||||||
g_string_append_c(tooltip, '\n');
|
g_string_append_c(tooltip, '\n');
|
||||||
g_string_append_printf(tooltip, "AC\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;
|
result = tooltip->str;
|
||||||
g_string_free(tooltip, FALSE);
|
g_string_free(tooltip, FALSE);
|
||||||
|
|
|
@ -463,7 +463,7 @@ char* battery_os_tooltip() {
|
||||||
g_string_append_c(tooltip, '\n');
|
g_string_append_c(tooltip, '\n');
|
||||||
|
|
||||||
g_string_append_printf(tooltip, "%s\n", ac->name);
|
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;
|
result = tooltip->str;
|
||||||
|
|
Loading…
Reference in a new issue