[gnome-control-center] language-chooser: Fix previous commit
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] language-chooser: Fix previous commit
- Date: Mon, 27 May 2013 16:04:08 +0000 (UTC)
commit 6183b09d8646127a51b215db0b1f6d3d65564416
Author: Rui Matos <tiagomatos gmail com>
Date: Mon May 27 17:31:34 2013 +0200
language-chooser: Fix previous commit
Commit 2d3ed3468a0b349969b032c3934ec17e4820a88f moved code around but
introduced an older version which doesn't quite work.
panels/common/cc-language-chooser.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/panels/common/cc-language-chooser.c b/panels/common/cc-language-chooser.c
index 959469d..ca04e75 100644
--- a/panels/common/cc-language-chooser.c
+++ b/panels/common/cc-language-chooser.c
@@ -331,7 +331,7 @@ set_locale_id (GtkDialog *chooser,
if (g_strcmp0 (locale_id, language) == 0) {
gboolean is_extra;
- gtk_widget_show (check);
+ gtk_widget_set_opacity (check, 1.0);
/* make sure the selected language is shown */
is_extra = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (row), "is-extra"));
@@ -340,9 +340,7 @@ set_locale_id (GtkDialog *chooser,
egg_list_box_refilter (EGG_LIST_BOX (priv->language_list));
}
} else {
- gtk_image_clear (GTK_IMAGE (check));
- g_object_set (check, "icon-size", GTK_ICON_SIZE_MENU, NULL);
- gtk_widget_hide (check);
+ gtk_widget_set_opacity (check, 0.0);
}
}
g_list_free (children);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]