diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-04-08 07:26:19 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2008-04-08 07:26:19 +0000 |
commit | 72591eb149003fc8214c7c09152cfd1600caaa60 (patch) | |
tree | 6817edc3c4b06f17f82f758fec017e7b8a7dd73b /src/prefs_common_dialog.c | |
parent | eebe5e587f162490e3603421496a84406eaf719b (diff) |
added the option to confirm recipients before sending.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1970 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common_dialog.c')
-rw-r--r-- | src/prefs_common_dialog.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index 46ae1905..e7d7c61f 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -84,6 +84,7 @@ static struct Send { GtkWidget *checkbtn_check_attach; GtkWidget *entry_check_attach_str; + GtkWidget *checkbtn_check_recp; } p_send; static struct Compose { @@ -298,6 +299,8 @@ static PrefsUIData ui_data[] = { prefs_set_data_from_toggle, prefs_set_toggle}, {"check_attach_str", &p_send.entry_check_attach_str, prefs_set_data_from_entry, prefs_set_entry}, + {"check_recipients", &p_send.checkbtn_check_recp, + prefs_set_data_from_toggle, prefs_set_toggle}, /* {"allow_jisx0201_kana", NULL, NULL, NULL}, */ @@ -881,6 +884,7 @@ static void prefs_send_create(void) GtkWidget *label; GtkWidget *checkbtn_check_attach; GtkWidget *entry_check_attach_str; + GtkWidget *checkbtn_check_recp; vbox1 = gtk_vbox_new (FALSE, VSPACING); gtk_widget_show (vbox1); @@ -975,6 +979,9 @@ static void prefs_send_create(void) SET_TOGGLE_SENSITIVITY(checkbtn_check_attach, entry_check_attach_str); + PACK_CHECK_BUTTON (vbox1, checkbtn_check_recp, + _("Confirm recipients before sending")); + p_send.checkbtn_savemsg = checkbtn_savemsg; p_send.checkbtn_filter_sent = checkbtn_filter_sent; @@ -983,6 +990,7 @@ static void prefs_send_create(void) p_send.checkbtn_check_attach = checkbtn_check_attach; p_send.entry_check_attach_str = entry_check_attach_str; + p_send.checkbtn_check_recp = checkbtn_check_recp; } static void prefs_compose_create(void) |