1
0
gnome-control-center/gnome-control-center-remove-implicit-language-setting.patch
Bjørn Lie 0ab19c2a00 Accepting request 629657 from home:yfjiang:branches:GNOME:Factory
- Add gnome-control-center-remove-implicit-language-setting.patch:
  user-accounts: remove implicit language setting when a new user
  navigating the user panel at the first time (bsc#1078968, commit
  a1066a2).

OBS-URL: https://build.opensuse.org/request/show/629657
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=396
2018-08-17 18:52:29 +00:00

16 lines
748 B
Diff

Index: gnome-control-center-3.28.2/panels/user-accounts/um-user-panel.c
===================================================================
--- gnome-control-center-3.28.2.orig/panels/user-accounts/um-user-panel.c
+++ gnome-control-center-3.28.2/panels/user-accounts/um-user-panel.c
@@ -840,10 +840,6 @@ show_user (ActUser *user, CcUserPanelPri
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);