!8 修控制中心修改语言注销后登录不能影响输入法语言显示问题
From: @reganhe_xx Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
a4f6ffb70e
35
fix-changed_lang_in_dcc_not_affecting_fcitx.patch
Normal file
35
fix-changed_lang_in_dcc_not_affecting_fcitx.patch
Normal file
@ -0,0 +1,35 @@
|
||||
From 94e4b6dde1c1a4921d099f18ba23787c74ca3774 Mon Sep 17 00:00:00 2001
|
||||
From: He Rengui <herengui@uniontech.com>
|
||||
Date: Tue, 27 Jul 2021 19:33:29 +0800
|
||||
Subject: [PATCH] fix issue that changed language in dde-control-center but not
|
||||
affecting fcitx process
|
||||
|
||||
Signed-off-by: He Rengui <herengui@uniontech.com>
|
||||
---
|
||||
imsettings-daemon/imsettings-proc.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/imsettings-daemon/imsettings-proc.c b/imsettings-daemon/imsettings-proc.c
|
||||
index b78fcff..b29fcd1 100644
|
||||
--- a/imsettings-daemon/imsettings-proc.c
|
||||
+++ b/imsettings-daemon/imsettings-proc.c
|
||||
@@ -319,6 +320,8 @@ _start_process(IMSettingsProc *proc,
|
||||
"QT_IM_MODULE",
|
||||
"XMODIFIERS",
|
||||
"XDG_CURRENT_DESKTOP",
|
||||
+ "LANGUAGE",
|
||||
+ "LANG",
|
||||
NULL
|
||||
};
|
||||
gsize len, i, j, k;
|
||||
@@ -348,6 +351,7 @@ _start_process(IMSettingsProc *proc,
|
||||
}
|
||||
if (lang) {
|
||||
envp[j++] = g_strdup_printf("LC_CTYPE=%s", lang);
|
||||
+ envp[j++] = g_strdup_printf("LANG=%s", lang);
|
||||
}
|
||||
/* set environment variables explicitly to ensure
|
||||
* any processes being brought up from the IM process
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: imsettings
|
||||
Version: 1.7.3
|
||||
Release: 10
|
||||
Release: 11
|
||||
License: LGPLv2.1
|
||||
Summary: Delivery framework for general Input Method configuration
|
||||
URL: https://bitbucket.org/tagoh/imsettings/src/master/
|
||||
@ -13,6 +13,7 @@ Patch0004: imsettings-fix-unbound-var.patch
|
||||
Patch0005: Fix-can-not-input-chinese-in-en-environment.patch
|
||||
Patch0006: imsetting-fix-compile-error-sinal-multi-defined.patch
|
||||
Patch0007: fix-journal_missing_chinese.patch
|
||||
Patch0008: fix-changed_lang_in_dcc_not_affecting_fcitx.patch
|
||||
BuildRequires: desktop-file-utils intltool gettext libtool automake autoconf glib2 >= 2.32.0 gobject-introspection-devel
|
||||
BuildRequires: libnotify-devel libX11-devel libgxim-devel >= 0.5.0 gtk3-devel >= 3.3.3
|
||||
Requires: xorg-x11-xinit >= 1.0.2-22
|
||||
@ -145,8 +146,14 @@ fi
|
||||
%{_libdir}/imsettings/libimsettings-qt.so
|
||||
|
||||
%changelog
|
||||
|
||||
* Fri Aug 27 2021 herengui <herengui@uniontech.com> - 1.7.3-11
|
||||
- Fix: fix issue that change language in deepin-control-center cannot affect the fcitx
|
||||
- Bug: #I47HF0
|
||||
|
||||
* Fri Aug 27 2021 herengui <herengui@uniontech.com> - 1.7.3-10
|
||||
- fix issue that chinese characters missing in the journal
|
||||
- Bug: #I47HD9
|
||||
|
||||
* Fri Aug 20 2021 tanyulong <tanyulong@kylinos.cn> - 1.7.3-9
|
||||
- fix compile error sinal multi defined
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user