[gnome-control-center] user-accounts: do not set the language twice
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: do not set the language twice
- Date: Mon, 19 Jan 2015 12:13:42 +0000 (UTC)
commit b0e6526c468b9fd761a90fa28c70af664305efc2
Author: Ondrej Holy <oholy redhat com>
Date: Fri Jan 16 09:05:18 2015 +0100
user-accounts: do not set the language twice
The act_user_set_language function is called twice as a result of
commit 96c0c0a, which is not necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=703392
panels/user-accounts/um-user-panel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index 677c190..63b82cb 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -1115,8 +1115,6 @@ language_response (GtkDialog *dialog,
show_restart_notification (d, lang);
}
- act_user_set_language (user, lang);
-
button = get_widget (d, "account-language-button");
name = gnome_get_language_from_locale (lang, NULL);
um_editable_button_set_text (UM_EDITABLE_BUTTON (button), name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]