X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fprefs_spelling.c;h=442124fb908bd322a9b04e4faf81d2d0e35e484d;hp=67c276dd8bd694384ce103a51e5abecf45812882;hb=dbc41a815cb99135d90dc7d70f4fb4f5f3d0c78e;hpb=339a486841e1b0bf700badc7d0bfa97fa2fbfb5e diff --git a/src/prefs_spelling.c b/src/prefs_spelling.c index 67c276dd8..442124fb9 100644 --- a/src/prefs_spelling.c +++ b/src/prefs_spelling.c @@ -208,11 +208,7 @@ void prefs_spelling_create_widget(PrefsPage *_page, GtkWindow *window, gpointer gtk_widget_show(aspell_path_select); gtk_box_pack_start(GTK_BOX(aspell_path_hbox), aspell_path_select, FALSE, FALSE, 0); - PACK_FRAME(vbox1, automatic_frame, _("Automatic spelling")); - vbox2 = gtk_vbox_new(FALSE, VSPACING_NARROW); - gtk_widget_show(vbox2); - gtk_container_add(GTK_CONTAINER(automatic_frame), vbox2); - gtk_container_set_border_width(GTK_CONTAINER(vbox2), 8); + vbox2 = gtkut_get_options_frame(vbox1, &automatic_frame, _("Automatic spelling")); check_while_typing_checkbtn = gtk_check_button_new_with_label( _("Check while typing")); @@ -224,10 +220,7 @@ void prefs_spelling_create_widget(PrefsPage *_page, GtkWindow *window, gpointer gtk_widget_show(recheck_when_changing_dict_checkbtn); gtk_box_pack_start(GTK_BOX(vbox2), recheck_when_changing_dict_checkbtn, TRUE, TRUE, 0); - PACK_FRAME(vbox1, dictionary_frame, _("Dictionary")); - vbox2 = gtk_vbox_new(TRUE, VSPACING_NARROW); - gtk_widget_show(vbox2); - gtk_container_add(GTK_CONTAINER(dictionary_frame), vbox2); + vbox2 = gtkut_get_options_frame(vbox1, &dictionary_frame, _("Dictionary")); table = gtk_table_new(6, 4, FALSE); gtk_widget_show(table);