aboutsummaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-11-07 11:29:51 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-11-07 11:29:51 -0600
commitf446e2fbf12b6210faf76fb78d8020647834fbff (patch)
tree77b0bb1311f86bf0f6a8427c2559f68b05da02fa /src/device.c
parenta499914c45cf4bf2208c857f54783cfcd48c1427 (diff)
downloadayatana-indicator-power-f446e2fbf12b6210faf76fb78d8020647834fbff.tar.gz
ayatana-indicator-power-f446e2fbf12b6210faf76fb78d8020647834fbff.tar.bz2
ayatana-indicator-power-f446e2fbf12b6210faf76fb78d8020647834fbff.zip
change indicator_power_device_get_time_details() s.t. the 'short details' for an AC Adapter is an empty string.
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c
index 490ff1a..d028ab7 100644
--- a/src/device.c
+++ b/src/device.c
@@ -612,7 +612,7 @@ indicator_power_device_get_time_details (const IndicatorPowerDevice * device,
{
*details = g_strdup (device_name);
*accessible_name = g_strdup (device_name);
- *short_details = g_strdup (device_name);
+ *short_details = g_strdup ("");
}
else
{