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