summaryrefslogtreecommitdiff
path: root/src/gpm-tray-icon.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-07-09 18:41:58 +0200
committerraveit65 <[email protected]>2016-07-25 16:13:40 +0200
commitbfc5fb932891932b3e5f46e8067a5593d461ab96 (patch)
tree561cda2ff6db0a2dbbdf8e8bcacfb4cc5857adcf /src/gpm-tray-icon.c
parente2d30b28338f4d2947117bd98b9555915fd55fe0 (diff)
downloadmate-power-manager-bfc5fb932891932b3e5f46e8067a5593d461ab96.tar.bz2
mate-power-manager-bfc5fb932891932b3e5f46e8067a5593d461ab96.tar.xz
rename a function to match upstream
taken from: https://git.gnome.org/browse/gnome-power-manager/commit/?id=f2c0409
Diffstat (limited to 'src/gpm-tray-icon.c')
-rw-r--r--src/gpm-tray-icon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index 47315ba..18c2c8b 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -266,7 +266,7 @@ gpm_tray_icon_add_device (GpmTrayIcon *icon, GtkMenu *menu, const GPtrArray *arr
label = g_strdup_printf ("%s %s (%.1f%%)", vendor, model, percentage);
}
else {
- label = g_strdup_printf ("%s (%.1f%%)", gpm_device_kind_to_localised_text (kind, 1), percentage);
+ label = g_strdup_printf ("%s (%.1f%%)", gpm_device_kind_to_localised_string (kind, 1), percentage);
}
item = gtk_image_menu_item_new_with_label (label);