aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rw-r--r--src/desktop.vala4
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);