redraw the selected layouts window
svn path=/trunk/; revision=7848
This commit is contained in:
parent
8df99660b0
commit
65fac08e3a
2 changed files with 7 additions and 0 deletions
|
@ -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 <svu@gnome.org>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue