aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-18 14:08:04 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-18 14:08:04 +0200
commit93b533bcc9a9870b761f71361bb77ebdf3d9da43 (patch)
tree097d057fc02992a68cfb7a45108ceabe1b3e7bea
parentbc1f16f857ca694b666a343bb3f734f1962c6400 (diff)
parente0089c4226251266c23a21da8d16e7bde7524bf8 (diff)
downloadayatana-indicator-keyboard-93b533bcc9a9870b761f71361bb77ebdf3d9da43.tar.gz
ayatana-indicator-keyboard-93b533bcc9a9870b761f71361bb77ebdf3d9da43.tar.bz2
ayatana-indicator-keyboard-93b533bcc9a9870b761f71361bb77ebdf3d9da43.zip
Merge branch 'tari01-pr/fix-lomiri-detection'
Attributes GH PR #20: https://github.com/AyatanaIndicators/ayatana-indicator-keyboard/pull/20
-rw-r--r--src/service.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/service.c b/src/service.c
index ac94f0b5..bcc1841c 100644
--- a/src/service.c
+++ b/src/service.c
@@ -406,11 +406,8 @@ static void onDispose(GObject *pObject)
static void indicator_keyboard_service_init(IndicatorKeyboardService *self)
{
gchar *sLib = "libayatana-keyboard-x11.so";
- GFile *pFile = g_file_new_for_path("/usr/lib/maliit/plugins/liblomiri-keyboard-plugin.so");
- gboolean bExists = g_file_query_exists(pFile, NULL);
- g_object_unref(pFile);
- if (bExists)
+ if (ayatana_common_utils_is_lomiri())
{
sLib = "libayatana-keyboard-lomiri.so";
}