diff options
| author | Charles Kerr <charles.kerr@canonical.com> | 2012-11-07 17:56:07 +0000 |
|---|---|---|
| committer | Tarmac <Unknown> | 2012-11-07 17:56:07 +0000 |
| commit | 7b7b36ebfad7e8af06548dc77d579d0e6d9d2ecd (patch) | |
| tree | 77b0bb1311f86bf0f6a8427c2559f68b05da02fa /src/device.c | |
| parent | 1e5b83de6bb681307aababbbdc1492e53885b843 (diff) | |
| parent | f446e2fbf12b6210faf76fb78d8020647834fbff (diff) | |
| download | ayatana-indicator-power-7b7b36ebfad7e8af06548dc77d579d0e6d9d2ecd.tar.gz ayatana-indicator-power-7b7b36ebfad7e8af06548dc77d579d0e6d9d2ecd.tar.bz2 ayatana-indicator-power-7b7b36ebfad7e8af06548dc77d579d0e6d9d2ecd.zip | |
Handle choosing a primary device when no device is charging nor discharging. Fixes: https://bugs.launchpad.net/bugs/1075192.
Approved by Lars Uebernickel, PS Jenkins bot.
Diffstat (limited to 'src/device.c')
| -rw-r--r-- | src/device.c | 2 |
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 { |
