aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-02 20:27:50 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-02 20:27:50 +0100
commit997adcbfac7b345b2dd638b95fc7710178f3316f (patch)
treec92758e6c6c4db75ca779bad30021ae0391da416
parent969261ba840c5ce9a97f4b3af071dd8ef2f86e72 (diff)
downloadayatana-indicator-session-997adcbfac7b345b2dd638b95fc7710178f3316f.tar.gz
ayatana-indicator-session-997adcbfac7b345b2dd638b95fc7710178f3316f.tar.bz2
ayatana-indicator-session-997adcbfac7b345b2dd638b95fc7710178f3316f.zip
Switch from URL Dispatcher to Lomiri URL Dispatcher.
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/backend-dbus/actions.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f040d81..7202bb6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,10 +28,10 @@ pkg_check_modules (SERVICE REQUIRED
gio-unix-2.0>=2.36)
include_directories (${SERVICE_INCLUDE_DIRS})
-set(URL_DISPATCHER_1_REQUIRED_VERSION 1)
+set(URL_DISPATCHER_REQUIRED_VERSION 0)
pkg_check_modules(
URLDISPATCHER
- url-dispatcher-1>=${URL_DISPATCHER_1_REQUIRED_VERSION}
+ lomiri-url-dispatcher>=${URL_DISPATCHER_REQUIRED_VERSION}
)
include_directories(${URLDISPATCHER_INCLUDE_DIRS})
diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c
index f1c2498..9d65202 100644
--- a/src/backend-dbus/actions.c
+++ b/src/backend-dbus/actions.c
@@ -21,7 +21,7 @@
#include <glib/gi18n.h>
#ifdef HAS_URLDISPATCHER
-# include <url-dispatcher.h>
+# include <lomiri-url-dispatcher.h>
#endif
#include "dbus-end-session-dialog.h"
@@ -783,7 +783,7 @@ my_bug (IndicatorSessionActions * self G_GNUC_UNUSED)
#ifdef HAS_URLDISPATCHER
if (g_getenv ("MIR_SOCKET") != NULL)
- url_dispatch_send(bts_url, NULL, NULL);
+ lomiri_url_dispatch_send(bts_url, NULL, NULL);
else
#endif
{
@@ -1096,7 +1096,7 @@ my_settings (IndicatorSessionActions * self G_GNUC_UNUSED)
{
#ifdef HAS_URLDISPATCHER
if (g_getenv ("MIR_SOCKET") != NULL)
- url_dispatch_send("settings:///system", NULL, NULL);
+ lomiri_url_dispatch_send("settings:///system", NULL, NULL);
else
#endif
if (have_unity_control_center ())
@@ -1118,7 +1118,7 @@ my_online_accounts (IndicatorSessionActions * self G_GNUC_UNUSED)
{
#ifdef HAS_URLDISPATCHER
if (g_getenv ("MIR_SOCKET") != NULL)
- url_dispatch_send("settings:///system/online-accounts", NULL, NULL);
+ lomiri_url_dispatch_send("settings:///system/online-accounts", NULL, NULL);
else
#endif
if (have_unity_control_center ())
@@ -1136,7 +1136,7 @@ my_about (IndicatorSessionActions * self G_GNUC_UNUSED)
{
#ifdef HAS_URLDISPATCHER
if (g_getenv ("MIR_SOCKET") != NULL)
- url_dispatch_send("settings:///system/about", NULL, NULL);
+ lomiri_url_dispatch_send("settings:///system/about", NULL, NULL);
else
#endif
if (have_unity_control_center ())