aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-10-25 16:24:08 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-26 11:55:26 +0100
commitc0de75ccc3977a39030a5ebe9dc17b6ff5827984 (patch)
treee5e06ae057e174f14474324b07aac1920aa1f9bd /src
parentfc0145c93d8f87e5b1f5f229a6071e6567cf8e95 (diff)
downloadayatana-indicator-bluetooth-c0de75ccc3977a39030a5ebe9dc17b6ff5827984.tar.gz
ayatana-indicator-bluetooth-c0de75ccc3977a39030a5ebe9dc17b6ff5827984.tar.bz2
ayatana-indicator-bluetooth-c0de75ccc3977a39030a5ebe9dc17b6ff5827984.zip
Make indicator aware of running inside the MATE desktop environment.
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);