1
0
gnome-control-center/gnome-control-center-remove-implicit-language-setting.patch

16 lines
748 B
Diff
Raw Normal View History

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);