aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-09-08 08:18:58 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-09 13:53:46 +0200
commit0f4312d54665e46ca9b6e5d6bc98e37c18ea4a58 (patch)
treeaa7cf18e71072ec34317ed79bf270c63ac939d5c /src
parent145f43c243938383a44931f2894e911547440e16 (diff)
downloadayatana-indicator-bluetooth-0f4312d54665e46ca9b6e5d6bc98e37c18ea4a58.tar.gz
ayatana-indicator-bluetooth-0f4312d54665e46ca9b6e5d6bc98e37c18ea4a58.tar.bz2
ayatana-indicator-bluetooth-0f4312d54665e46ca9b6e5d6bc98e37c18ea4a58.zip
src/desktop.vala: Use blueman-manager for settings on XFCE
fixes https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/issues/49
Diffstat (limited to 'src')
-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);