Merge lp:~codygarver/indicator-power/fix-1291051 into lp:indicator-power/14.10

Proposed by Charles Kerr
Status: Merged
Approved by: Ted Gould
Approved revision: 239
Merged at revision: 267
Proposed branch: lp:~codygarver/indicator-power/fix-1291051
Merge into: lp:indicator-power/14.10
Diff against target: 27 lines (+5/-1)
2 files modified
debian/control (+1/-1)
src/service.c (+4/-0)
To merge this branch: bzr merge lp:~codygarver/indicator-power/fix-1291051
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+237707@code.launchpad.net

Commit message

Add Switchboard as alternative recommend

Description of the change

Add Switchboard as alternative recommend

Sibling to the 14.04 MP at https://code.launchpad.net/~codygarver/indicator-power/fix-1291051/+merge/211170

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/control'
--- debian/control 2014-08-22 14:56:00 +0000
+++ debian/control 2014-10-09 01:24:21 +0000
@@ -30,7 +30,7 @@
30Depends: ${shlibs:Depends},30Depends: ${shlibs:Depends},
31 ${misc:Depends},31 ${misc:Depends},
32 upower,32 upower,
33Recommends: unity-control-center | gnome-control-center (>= 3.1) | ubuntu-system-settings | xfce4-power-manager,33Recommends: unity-control-center | gnome-control-center (>= 3.1) | ubuntu-system-settings | switchboard-plug-power | xfce4-power-manager,
34 indicator-applet (>= 0.2) | indicator-renderer,34 indicator-applet (>= 0.2) | indicator-renderer,
35Suggests: powerd,35Suggests: powerd,
36 unity-system-compositor (>= 0.0.4),36 unity-system-compositor (>= 0.0.4),
3737
=== modified file 'src/service.c'
--- src/service.c 2014-09-12 00:15:14 +0000
+++ src/service.c 2014-10-09 01:24:21 +0000
@@ -692,6 +692,10 @@
692 {692 {
693 control_center_cmd = "xfce4-power-manager-settings";693 control_center_cmd = "xfce4-power-manager-settings";
694 }694 }
695 else if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Pantheon"))
696 {
697 control_center_cmd = "switchboard --open-plug system-pantheon-power";
698 }
695 else699 else
696 {700 {
697 gchar *path;701 gchar *path;

Subscribers

People subscribed via source and target branches