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

Proposed by Sebastien Bacher
Status: Merged
Approved by: Charles Kerr
Approved revision: 90
Merged at revision: 90
Proposed branch: lp:~seb128/indicator-bluetooth/unity8-system-settings
Merge into: lp:indicator-bluetooth/15.10
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
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+269375@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
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/desktop.vala'
--- src/desktop.vala 2014-12-11 02:50:16 +0000
+++ src/desktop.vala 2015-08-27 14:32:01 +0000
@@ -208,7 +208,9 @@
208208
209 void show_settings (string panel)209 void show_settings (string panel)
210 {210 {
211 if (Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Unity" && Environment.find_program_in_path ("unity-control-center") != null)211 if (Environment.get_variable ("MIR_SOCKET") != null)
212 UrlDispatch.send ("settings:///system/bluetooth");
213 else if (Environment.get_variable ("XDG_CURRENT_DESKTOP") == "Unity" && Environment.find_program_in_path ("unity-control-center") != null)
212 spawn_command_line_async ("unity-control-center " + panel);214 spawn_command_line_async ("unity-control-center " + panel);
213 else215 else
214 spawn_command_line_async ("gnome-control-center " + panel);216 spawn_command_line_async ("gnome-control-center " + panel);

Subscribers

People subscribed via source and target branches