diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-10-26 11:56:37 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-10-26 11:56:37 +0100 |
commit | d0974811c803891aff5562fc8c4d18ea36d3f3a7 (patch) | |
tree | c49f683dd2ed8c31c8926e808e9540a844b68a3e | |
parent | fc0145c93d8f87e5b1f5f229a6071e6567cf8e95 (diff) | |
parent | aae2a1fa5d330d87dd1e64534b301c7b97bb5703 (diff) | |
download | ayatana-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
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | src/desktop.vala | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 02a644b..f09c2ef 100644 --- a/debian/control +++ b/debian/control @@ -20,7 +20,7 @@ Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, bluez (>= 5), - unity-control-center | gnome-control-center | ubuntu-system-settings, + unity-control-center | mate-control-center | gnome-control-center | ubuntu-system-settings, gnome-bluetooth | ubuntu-system-settings | blueman-manager, ayatana-indicator-common, Replaces: gnome-bluetooth (<< 3.6.1-0ubuntu2) 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); |