Merge lp:~seb128/indicator-bluetooth/unity8-system-settings-stable into lp:indicator-bluetooth/15.04

Proposed by Sebastien Bacher
Status: Merged
Merge reported by: Sebastien Bacher
Merged at revision: not available
Proposed branch: lp:~seb128/indicator-bluetooth/unity8-system-settings-stable
Merge into: lp:indicator-bluetooth/15.04
Diff against target: 14 lines (+3/-1)
1 file modified
src/desktop.vala (+3/-1)
To merge this branch: bzr merge lp:~seb128/indicator-bluetooth/unity8-system-settings-stable
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Indicator Applet Developers Pending
Review via email: mp+271132@code.launchpad.net

Commit message

under unity8 start system-settings instead unity-control-center

Description of the change

under unity8 start system-settings instead unity-control-center

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

backport to vivid-overlay is going to be needed for the pocket desktop image

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

that was merged in when rebasing the package on the wily version

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/desktop.vala'
2--- src/desktop.vala 2014-01-21 21:29:37 +0000
3+++ src/desktop.vala 2015-09-15 14:14:25 +0000
4@@ -211,7 +211,9 @@
5
6 void show_settings (string panel)
7 {
8- if (Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Unity" && Environment.find_program_in_path ("unity-control-center") != null)
9+ if (Environment.get_variable ("MIR_SOCKET") != null)
10+ UrlDispatch.send ("settings:///system/bluetooth");
11+ else if (Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Unity" && Environment.find_program_in_path ("unity-control-center") != null)
12 spawn_command_line_async ("unity-control-center " + panel);
13 else
14 spawn_command_line_async ("gnome-control-center " + panel);

Subscribers

People subscribed via source and target branches