Merge lp:~charlesk/indicator-power/lp-1007095 into lp:indicator-power/13.04

Proposed by Charles Kerr
Status: Merged
Approved by: Lars Karlitski
Approved revision: 160
Merged at revision: 160
Proposed branch: lp:~charlesk/indicator-power/lp-1007095
Merge into: lp:indicator-power/13.04
Diff against target: 12 lines (+2/-1)
1 file modified
src/indicator-power.c (+2/-1)
To merge this branch: bzr merge lp:~charlesk/indicator-power/lp-1007095
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Lars Karlitski (community) Approve
Review via email: mp+143138@code.launchpad.net

Description of the change

This is Phillip Susi's patch from lp:~psusi/ubuntu/raring/indicator-power/show-ups, proposed here for trunk

To post a comment you must log in.
160. By Phillip Susi

merge lp:~psusi/ubuntu/raring/indicator-power/show-ups

Revision history for this message
Lars Karlitski (larsu) wrote :

Looks good, thanks!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/indicator-power.c'
2--- src/indicator-power.c 2012-11-14 10:09:49 +0000
3+++ src/indicator-power.c 2013-01-14 16:23:21 +0000
4@@ -615,7 +615,8 @@
5 {
6 const IndicatorPowerDevice * device = INDICATOR_POWER_DEVICE(l->data);
7
8- if (indicator_power_device_get_kind(device) == UP_DEVICE_KIND_BATTERY)
9+ if (indicator_power_device_get_kind(device) == UP_DEVICE_KIND_BATTERY ||
10+ indicator_power_device_get_kind(device) == UP_DEVICE_KIND_UPS)
11 {
12 ++*total;
13

Subscribers

People subscribed via source and target branches