summaryrefslogtreecommitdiff
path: root/src/gpm-statistics.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-statistics.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-statistics.c')
-rw-r--r--src/gpm-statistics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index 9fab6bc..a93631c 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -403,7 +403,7 @@ gpm_stats_update_info_page_details (UpDevice *device)
gpm_stats_add_info_data (_("Device"), device_path);
g_free (device_path);
- gpm_stats_add_info_data (_("Type"), gpm_device_kind_to_localised_text (kind, 1));
+ gpm_stats_add_info_data (_("Type"), gpm_device_kind_to_localised_string (kind, 1));
if (vendor != NULL && vendor[0] != '\0')
gpm_stats_add_info_data (_("Vendor"), vendor);
if (model != NULL && model[0] != '\0')
@@ -1238,7 +1238,7 @@ gpm_stats_add_device (UpDevice *device)
label = g_strdup_printf ("%s %s", vendor, model);
}
else {
- label = g_strdup_printf ("%s", gpm_device_kind_to_localised_text (kind, 1));
+ label = g_strdup_printf ("%s", gpm_device_kind_to_localised_string (kind, 1));
}
icon = gpm_upower_get_device_icon (device);