File gnome-control-center-remove-implicit-language-setting.patch of Package gnome-control-center.10840

From 5514ccfc1e84b5918fa8d1b36440fdcf2be6962e Mon Sep 17 00:00:00 2001
From: Chingkai <qkzhu@suse.com>
Date: Fri, 9 Nov 2018 14:31:28 +0800
Subject: [PATCH] user-accounts: Remove implicit language setting

user-accounts: remove implicit language setting when a new user
navigating the user panel at the first time (bsc#1078968, commit
a1066a2).
---
 panels/user-accounts/um-user-panel.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index f219af4..2a304dd 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -911,10 +911,6 @@ show_user (ActUser *user, CcUserPanelPrivate *d)
 
         name = NULL;
         lang = g_strdup (act_user_get_language (user));
-        if ((!lang || *lang == '\0') && act_user_get_uid (user) == getuid ()) {
-                lang = cc_common_language_get_current_language ();
-                act_user_set_language (user, lang);
-        }
 
         if (lang && *lang != '\0') {
                 name = gnome_get_language_from_locale (lang, NULL);
-- 
2.13.7