From 0f4312d54665e46ca9b6e5d6bc98e37c18ea4a58 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Fri, 8 Sep 2023 08:18:58 +0200 Subject: src/desktop.vala: Use blueman-manager for settings on XFCE fixes https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/issues/49 --- src/desktop.vala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/desktop.vala b/src/desktop.vala index b7b48fd..fd690df 100644 --- a/src/desktop.vala +++ b/src/desktop.vala @@ -1,6 +1,6 @@ /* * Copyright 2013 Canonical Ltd. - * Copyright 2021-2022 Robert Tari + * Copyright 2021-2023 Robert Tari * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -267,6 +267,10 @@ class Desktop: Profile { AyatanaCommon.utils_execute_command("blueman-manager"); } + else if (AyatanaCommon.utils_is_xfce() && AyatanaCommon.utils_have_program("blueman-manager")) + { + AyatanaCommon.utils_execute_command("blueman-manager"); + } else { AyatanaCommon.utils_execute_command("gnome-control-center " + panel); -- cgit v1.2.3