forked from pool/gnome-control-center
Bjørn Lie
0ab19c2a00
- 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
16 lines
748 B
Diff
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);
|