aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-09-08 08:18:58 +0200
committerRobert Tari <robert@tari.in>2023-09-08 08:18:58 +0200
commit15beb49dabfeea439932181ecce3dad232024072 (patch)
tree105b7d6902f8903e2f376a9e97e37236fbfff3ff
parent2ea6783da5f6d1670cf43155efb32fb3cf85e84a (diff)
downloadayatana-indicator-bluetooth-15beb49dabfeea439932181ecce3dad232024072.tar.gz
ayatana-indicator-bluetooth-15beb49dabfeea439932181ecce3dad232024072.tar.bz2
ayatana-indicator-bluetooth-15beb49dabfeea439932181ecce3dad232024072.zip
src/desktop.vala: Use blueman-manager for settings on XFCE
fixes https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/issues/49
-rw-r--r--src/desktop.vala6
1 files changed, 5 insertions, 1 deletions
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);