From 65fac08e3a1e90af23d1b6482eb0b181308459c0 Mon Sep 17 00:00:00 2001 From: "Sergey V. Udaltsov" Date: Wed, 11 Jul 2007 15:50:54 +0000 Subject: [PATCH] redraw the selected layouts window svn path=/trunk/; revision=7848 --- capplets/keyboard/ChangeLog | 3 +++ capplets/keyboard/gnome-keyboard-properties-xkblt.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/capplets/keyboard/ChangeLog b/capplets/keyboard/ChangeLog index 5605b7694..6c3f4d697 100644 --- a/capplets/keyboard/ChangeLog +++ b/capplets/keyboard/ChangeLog @@ -6,6 +6,9 @@ http://bugzilla.gnome.org/show_bug.cgi?id=455353 * gnome-keyboard-properties.glade: s/group/layout/ - because xkeyboard-config is going to have all UI strings as "layout". + * gnome-keyboard-properties-xkblt.c: redraw the selected layouts + window when "Separate layout per window" is toggled - otherwise + "Default" radios are not repainted 2007-05-19 Sergey Udaltsov diff --git a/capplets/keyboard/gnome-keyboard-properties-xkblt.c b/capplets/keyboard/gnome-keyboard-properties-xkblt.c index 8fcd2fb6c..b6cf3d756 100644 --- a/capplets/keyboard/gnome-keyboard-properties-xkblt.c +++ b/capplets/keyboard/gnome-keyboard-properties-xkblt.c @@ -203,10 +203,14 @@ void xkb_layouts_enable_disable_default (GladeXML * dialog, gboolean enable) { GValue val = { 0 }; + GtkWidget *tree_view = WID ("xkb_layouts_selected"); + g_value_init (&val, G_TYPE_BOOLEAN); g_value_set_boolean (&val, enable); g_object_set_property (G_OBJECT (toggle_renderer), "activatable", &val); + + gtk_widget_draw (tree_view, NULL); } void