From: Kaj-Michael Lang Date: Thu, 20 Mar 2008 14:03:16 +0000 (+0200) Subject: Fixes to settings dialog X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc8df924cb7d1a26a8308410343253c77ed2b688;p=mapper Fixes to settings dialog --- diff --git a/src/settings-gui.c b/src/settings-gui.c index 5414bdf..8ce981c 100644 --- a/src/settings-gui.c +++ b/src/settings-gui.c @@ -466,8 +466,10 @@ gtk_table_attach(GTK_TABLE(table), hbox=gtk_hbox_new(FALSE, 4), 1, 2, 1, 2, GTK_ gtk_box_pack_start(GTK_BOX(hbox), txt_mapper_db=gtk_entry_new(), TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(hbox), btn_browsedb=gtk_button_new_with_label(_("Browse...")), FALSE, FALSE, 0); +gtk_notebook_append_page(GTK_NOTEBOOK(notebook), table=gtk_table_new(2, 3, FALSE), label=gtk_label_new(_("Advanced"))); + /* Advanced */ -gtk_table_attach(GTK_TABLE(table), label=gtk_label_new(_("Advanced")), 0, 1, 1, 2, GTK_FILL, 0, 2, 4); +gtk_table_attach(GTK_TABLE(table), label=gtk_label_new(_("Sensitivity")), 0, 1, 1, 2, GTK_FILL, 0, 2, 4); gtk_misc_set_alignment(GTK_MISC(label), 1.f, 0.5f); gtk_table_attach(GTK_TABLE(table), num_sens=hildon_controlbar_new(), 1, 2, 0, 1, GTK_EXPAND | GTK_FILL, 0, 2, 4); hildon_controlbar_set_range(HILDON_CONTROLBAR(num_sens), 1, 10); @@ -576,8 +578,10 @@ gtk_table_attach(GTK_TABLE(table), num_announce_notice=hildon_controlbar_new(), hildon_controlbar_set_range(HILDON_CONTROLBAR(num_announce_notice), 1, 20); force_min_visible_bars(HILDON_CONTROLBAR(num_announce_notice), 1); +gtk_table_attach(GTK_TABLE(table), announce_speed=gtk_check_button_new_with_label(_("Enable speed announcements")), 0, 2, 1, 2, GTK_EXPAND | GTK_FILL, 0, 2, 4); + /* Voice page */ -gtk_notebook_append_page(GTK_NOTEBOOK(notebook), table=gtk_table_new(2, 3, FALSE), label=gtk_label_new(_("Announce"))); +gtk_notebook_append_page(GTK_NOTEBOOK(notebook), table=gtk_table_new(2, 3, FALSE), label=gtk_label_new(_("Voice"))); /* Enable Voice. */ gtk_table_attach(GTK_TABLE(table), chk_enable_voice=gtk_check_button_new_with_label(_("Enable Voice Synthesis")), 0, 2, 1, 2, GTK_EXPAND | GTK_FILL, 0, 2, 4);