aboutsummaryrefslogtreecommitdiff
path: root/src/phone.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 14:24:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 14:24:00 +0200
commit3e827b80bd301e0795d7d91b918c622fd3e00915 (patch)
treeebc1b790237e006f6a7370dd504f0ad8489f302f /src/phone.vala
parentf9dcff7b3a42082ad3ba6076991ed8aa7df9b6a8 (diff)
parent9ca4205f80e490245f800705c7ac4103582192c1 (diff)
downloadayatana-indicator-bluetooth-3e827b80bd301e0795d7d91b918c622fd3e00915.tar.gz
ayatana-indicator-bluetooth-3e827b80bd301e0795d7d91b918c622fd3e00915.tar.bz2
ayatana-indicator-bluetooth-3e827b80bd301e0795d7d91b918c622fd3e00915.zip
Merge branch 'tari01-pr/use-libayatana-common'
Attributes GH PR #28: https://github.com/AyatanaIndicators/ayatana-indicator-bluetooth/pull/28
Diffstat (limited to 'src/phone.vala')
-rw-r--r--src/phone.vala12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/phone.vala b/src/phone.vala
index 3490768..075096f 100644
--- a/src/phone.vala
+++ b/src/phone.vala
@@ -1,5 +1,6 @@
/*
* Copyright 2013 Canonical Ltd.
+ * Copyright 2021 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
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
class Phone: Profile
@@ -62,15 +64,7 @@ class Phone: Profile
void show_settings (string panel)
{
-
-#if HAS_URLDISPATCHER
-
- LomiriUrlDispatch.send ("settings:///system/bluetooth");
-
-#endif
-
- return;
-
+ AyatanaCommon.utils_open_url("settings:///system/bluetooth");
}
Action create_settings_action ()