aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-26 11:56:37 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-26 11:56:37 +0100
commitd0974811c803891aff5562fc8c4d18ea36d3f3a7 (patch)
treec49f683dd2ed8c31c8926e808e9540a844b68a3e /src
parentfc0145c93d8f87e5b1f5f229a6071e6567cf8e95 (diff)
parentaae2a1fa5d330d87dd1e64534b301c7b97bb5703 (diff)
downloadayatana-indicator-bluetooth-d0974811c803891aff5562fc8c4d18ea36d3f3a7.tar.gz
ayatana-indicator-bluetooth-d0974811c803891aff5562fc8c4d18ea36d3f3a7.tar.bz2
ayatana-indicator-bluetooth-d0974811c803891aff5562fc8c4d18ea36d3f3a7.zip
Merge branch 'sunweaver-pr/mate-support'
Attributes GH PR #6: https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/6
Diffstat (limited to 'src')
-rw-r--r--src/desktop.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop.vala b/src/desktop.vala
index 7109874..5791e90 100644
--- a/src/desktop.vala
+++ b/src/desktop.vala
@@ -242,6 +242,10 @@ class Desktop: Profile
{
spawn_command_line_async ("unity-control-center " + panel);
}
+ else if (is_desktop ("MATE") && Environment.find_program_in_path ("blueman-manager") != null)
+ {
+ spawn_command_line_async ("blueman-manager");
+ }
else
{
spawn_command_line_async ("gnome-control-center " + panel);