rem: frame = games_frame_new (_("Keyboard controls"));
add: frame = games_frame_new (_("Keyboard Controls"));
context: gnibbles_preferences_cb (GtkWidget *widget, gpointer data){	GtkWidget *notebook;	GtkWidget *label;	GtkWidget *frame;	GtkWidget *button;	GtkWidget *levelspinner;	GtkWidget *vbox, *vbox2;	GtkObject *adjustment;	GtkWidget *label2;	GtkWidget *table, *table2;	GtkWidget *omenu;	GtkWidget *controls;	gchar *buffer;	gint i;	gint running = 0;		if (pref_dialog) {		gtk_window_present (GTK_WINDOW(pref_dialog));		return;	}	if (!paused) {		unpause = 1;		pause_game_cb (NULL, 0);	}	if (game_running ())		running = 1;	pref_dialog = gtk_dialog_new_with_buttons (_("Gnibbles Preferences"),                                                   GTK_WINDOW(window), 0,                                                   GTK_STOCK_CLOSE,                                                   GTK_RESPONSE_CLOSE, NULL);	notebook = gtk_notebook_new ();	gtk_container_add (GTK_CONTAINER (GTK_DIALOG (pref_dialog)->vbox),                           notebook);	label = gtk_label_new_with_mnemonic (_("_Game"));	table = gtk_table_new (1, 2, FALSE);	gtk_table_set_row_spacings (GTK_TABLE (table), 6);	gtk_container_set_border_width (GTK_CONTAINER (table), 12);	gtk_notebook_append_page (GTK_NOTEBOOK (notebook),                                  table, label);	frame = games_frame_new (_("Speed"));	if (running)		gtk_widget_set_sensitive (frame, FALSE);	gtk_table_attach_defaults (GTK_TABLE (table), frame, 0, 1, 0, 1);        	vbox = gtk_vbox_new (FALSE, 6);	gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);	gtk_container_add (GTK_CONTAINER (frame), vbox);	button = gtk_radio_button_new_with_label (NULL, _("Nibbles newbie"));	gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);	if (properties->gamespeed == 4)		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      TRUE);	g_signal_connect (GTK_OBJECT (button), "toggled", GTK_SIGNAL_FUNC			  (game_speed_cb), (gpointer) 4);	button = gtk_radio_button_new_with_label (gtk_radio_button_get_group						  (GTK_RADIO_BUTTON (button)), _("My second day"));	gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);	if (properties->gamespeed == 3)		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      TRUE);	g_signal_connect (GTK_OBJECT (button), "toggled", GTK_SIGNAL_FUNC			  (game_speed_cb), (gpointer) 3);	button = gtk_radio_button_new_with_label (gtk_radio_button_get_group						  (GTK_RADIO_BUTTON (button)), _("Not too shabby"));	gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);	if (properties->gamespeed == 2)		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      TRUE);	g_signal_connect (GTK_OBJECT (button), "toggled", GTK_SIGNAL_FUNC			  (game_speed_cb), (gpointer) 2);	button = gtk_radio_button_new_with_label (gtk_radio_button_get_group						  (GTK_RADIO_BUTTON (button)),						  _("Finger-twitching good"));	gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);	if (properties->gamespeed == 1)		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      TRUE);	g_signal_connect (GTK_OBJECT (button), "toggled", GTK_SIGNAL_FUNC			  (game_speed_cb), (gpointer) 1);        /* Options */        frame = games_frame_new (_("Options"));	gtk_table_attach_defaults (GTK_TABLE (table), frame, 1, 2, 0, 1);        vbox = gtk_vbox_new (FALSE, 6);	gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);        gtk_container_add (GTK_CONTAINER (frame), vbox);	button = gtk_check_button_new_with_label (_("Play levels in random order"));	gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);	if (running)		gtk_widget_set_sensitive (button, FALSE);	if (properties->random)		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      TRUE);	g_signal_connect (GTK_OBJECT (button), "toggled", GTK_SIGNAL_FUNC                          (random_order_cb), NULL);	button = gtk_check_button_new_with_label (_("Enable fake bonuses"));	gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);	if (running)		gtk_widget_set_sensitive (button, FALSE);	if (properties->fakes)		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      TRUE);	g_signal_connect (GTK_OBJECT (button), "toggled", GTK_SIGNAL_FUNC                          (fake_bonus_cb), NULL);        	button = gtk_check_button_new_with_label (_("Enable sounds"));	gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);	if (properties->sound)		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      TRUE);	g_signal_connect (GTK_OBJECT (button), "toggled", GTK_SIGNAL_FUNC			  (sound_cb), NULL);	table2 = gtk_table_new (2, 2, FALSE);	gtk_box_pack_start (GTK_BOX (vbox), table2, FALSE, FALSE, 0);	gtk_table_set_row_spacings (GTK_TABLE (table2), 6);	gtk_container_set_border_width (GTK_CONTAINER (table2), 0);	label2 = gtk_label_new (_("Starting level:"));	start_level_label = label2;	gtk_widget_set_name (label2, "StartLevelLabel");	gtk_misc_set_alignment (GTK_MISC (label2), 0, 0.5);	if (properties->random)		gtk_widget_set_sensitive (GTK_WIDGET (label2), FALSE);	if (running)		gtk_widget_set_sensitive (GTK_WIDGET (label2), FALSE);	gtk_table_attach_defaults (GTK_TABLE (table2), label2, 0, 1, 0, 1);	adjustment = gtk_adjustment_new ((gfloat) properties->startlevel, 1.0,					 MAXLEVEL, 1.0, 5.0, 0.0);	levelspinner = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 0, 0);	start_level_spin_button = levelspinner;	gtk_widget_set_name (levelspinner, "StartLevelSpinButton");	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (levelspinner), FALSE);	if (properties->random)		gtk_widget_set_sensitive (GTK_WIDGET (levelspinner), FALSE);	if (running)		gtk_widget_set_sensitive (GTK_WIDGET (levelspinner), FALSE);	gtk_table_attach_defaults (GTK_TABLE (table2), levelspinner, 1, 2, 0, 1);	g_signal_connect (GTK_OBJECT (adjustment), "value_changed",			  GTK_SIGNAL_FUNC (start_level_cb), levelspinner);	label2 = gtk_label_new (_("Number of players:"));	gtk_misc_set_alignment (GTK_MISC (label2), 0, 0.5);	gtk_table_attach_defaults (GTK_TABLE (table2), label2, 0, 1, 1, 2);	if (running)		gtk_widget_set_sensitive (label2, FALSE);	adjustment = gtk_adjustment_new ((gfloat) properties->numworms, 1.0,                                         NUMWORMS, 1.0, 1.0, 0.0);	button = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 0, 0);	gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (button), FALSE);	gtk_table_attach_defaults (GTK_TABLE (table2), button, 1, 2, 1, 2);	if (running)		gtk_widget_set_sensitive (button, FALSE);	g_signal_connect (GTK_OBJECT (adjustment), "value_changed",                          GTK_SIGNAL_FUNC (num_worms_cb), button);        	for (i = 0; i < NUMWORMS; i++) {		gchar * up_key;		gchar * down_key;		gchar * left_key;		gchar * right_key;		buffer = g_strdup_printf ("%s _%d", _("Worm"), i + 1);		label = gtk_label_new_with_mnemonic (buffer);                g_free (buffer);                vbox = gtk_vbox_new (FALSE, 6);                gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);		gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);                frame = games_frame_new (_("Keyboard controls"));		controls = games_controls_list_new ();			left_key = g_strdup_printf (KEY_WORM_LEFT, i);		right_key = g_strdup_printf (KEY_WORM_RIGHT, i);		up_key = g_strdup_printf (KEY_WORM_UP, i);		down_key = g_strdup_printf (KEY_WORM_DOWN, i);		games_controls_list_add_controls (GAMES_CONTROLS_LIST (controls), left_key, right_key, up_key, down_key, NULL);		gtk_container_add (GTK_CONTAINER (frame), controls);                		g_free (left_key);		g_free (right_key);		g_free (up_key);		g_free (down_key);                gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);                frame = games_frame_new (_("Options"));                gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);                vbox2 = gtk_vbox_new (FALSE, 6);                gtk_container_add (GTK_CONTAINER (frame), vbox2);		button = gtk_check_button_new_with_label			(_("Use relative movement"));                gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);                table2 = gtk_table_new (1, 2, FALSE);                gtk_box_pack_start (GTK_BOX (vbox2), table2, FALSE, FALSE, 0);		label2 = gtk_label_new (_("Worm color:"));		gtk_misc_set_alignment (GTK_MISC (label2), 0, 0.5);                gtk_table_attach_defaults (GTK_TABLE (table2), label2, 0, 1, 0, 1);		omenu = gtk_combo_box_new_text ();		gtk_combo_box_append_text (GTK_COMBO_BOX (omenu), _("Red"));		gtk_combo_box_append_text (GTK_COMBO_BOX (omenu), _("Green"));		gtk_combo_box_append_text (GTK_COMBO_BOX (omenu), _("Blue"));		gtk_combo_box_append_text (GTK_COMBO_BOX (omenu), _("Yellow"));		gtk_combo_box_append_text (GTK_COMBO_BOX (omenu), _("Cyan"));		gtk_combo_box_append_text (GTK_COMBO_BOX (omenu), _("Purple"));		gtk_combo_box_append_text (GTK_COMBO_BOX (omenu), _("Gray"));		g_signal_connect (GTK_OBJECT (omenu), "changed",				  GTK_SIGNAL_FUNC (set_worm_color_cb),				  GINT_TO_POINTER(i));		gtk_combo_box_set_active (GTK_COMBO_BOX (omenu),					  properties->wormprops[i]->color - WORMRED);                gtk_table_attach_defaults (GTK_TABLE (table2), omenu, 1, 2, 0, 1);		set_worm_controls_sensitivity (i, properties->wormprops[i]->relmove);		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button),					      properties->wormprops[i]->relmove);		g_signal_connect (G_OBJECT (button), "toggled",				  G_CALLBACK (worm_relative_movement_cb),				  GINT_TO_POINTER(i));	}	g_signal_connect (G_OBJECT (pref_dialog), "response",			  G_CALLBACK (apply_cb), NULL);	g_signal_connect (G_OBJECT (pref_dialog), "destroy",			  G_CALLBACK (destroy_cb), NULL);	g_signal_connect (G_OBJECT (pref_dialog), "close",			  G_CALLBACK (destroy_cb), NULL);		gtk_widget_show_all (pref_dialog);}