diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/gnome-keyboard-panel.ui index dbbfb0a69..ccb1f593c 100644 --- a/panels/keyboard/gnome-keyboard-panel.ui +++ b/panels/keyboard/gnome-keyboard-panel.ui @@ -588,11 +588,9 @@ False 6 - + True False - 2 - 2 5 @@ -612,14 +610,17 @@ - 2 - GTK_FILL + 0 + 0 + 2 True True + True + True never in @@ -636,7 +637,7 @@ 1 - 2 + 0 @@ -679,23 +680,7 @@ 1 - 2 1 - 2 - GTK_FILL - - - - - True - False - - - - 1 - 2 - - GTK_FILL diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c index ea0e04a4c..38aa04fae 100644 --- a/panels/keyboard/keyboard-shortcuts.c +++ b/panels/keyboard/keyboard-shortcuts.c @@ -1685,7 +1685,6 @@ setup_dialog (CcPanel *panel, GtkBuilder *builder) GtkWidget *widget; GtkTreeView *treeview; GtkTreeSelection *selection; - GtkTable *table; GList *focus_chain; CcShell *shell; GtkListStore *model; @@ -1808,8 +1807,8 @@ setup_dialog (CcPanel *panel, GtkBuilder *builder) focus_chain = g_list_append (focus_chain, WID (builder, "actions_swindow")); focus_chain = g_list_append (focus_chain, WID (builder, "shortcut-toolbar")); - table = GTK_TABLE (gtk_builder_get_object (builder, "shortcuts_table")); - gtk_container_set_focus_chain (GTK_CONTAINER (table), focus_chain); + widget = GTK_WIDGET (gtk_builder_get_object (builder, "shortcuts_grid")); + gtk_container_set_focus_chain (GTK_CONTAINER (widget), focus_chain); g_list_free (focus_chain); /* set up the dialog */