diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-07 06:53:58 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2011-01-07 06:53:58 +0000 |
commit | 67dafc6d14d604ae87eb060763a7364f8b58e462 (patch) | |
tree | 87d2cd6d2aa822eab203145d6141a7bdeb0aa93d /src/prefs_common_dialog.c | |
parent | c2b0ac470bcbc1c508814b274909c44caadb4e5a (diff) |
added an option to disable the send dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2781 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common_dialog.c')
-rw-r--r-- | src/prefs_common_dialog.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index 6dae19ed..e28ec172 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -80,6 +80,7 @@ static struct Send { GtkWidget *checkbtn_savemsg; GtkWidget *checkbtn_filter_sent; GtkWidget *checkbtn_recipients_autoreg; + GtkWidget *checkbtn_show_send_dialog; GtkWidget *optmenu_encoding_method; GtkWidget *optmenu_mime_fencoding_method; @@ -318,6 +319,8 @@ static PrefsUIData ui_data[] = { prefs_set_data_from_toggle, prefs_set_toggle}, {"recipients_autoreg", &p_send.checkbtn_recipients_autoreg, prefs_set_data_from_toggle, prefs_set_toggle}, + {"show_send_dialog", &p_send.checkbtn_show_send_dialog, + prefs_set_data_from_toggle, prefs_set_toggle}, {"encoding_method", &p_send.optmenu_encoding_method, prefs_set_data_from_optmenu, prefs_set_optmenu}, @@ -942,6 +945,8 @@ static void prefs_send_create(void) GtkWidget *checkbtn_savemsg; GtkWidget *checkbtn_filter_sent; GtkWidget *checkbtn_recipients_autoreg; + GtkWidget *vbox3; + GtkWidget *checkbtn_show_send_dialog; GtkWidget *label; GtkWidget *checkbtn_check_attach; GtkWidget *entry_check_attach_str; @@ -980,6 +985,9 @@ static void prefs_send_create(void) PACK_CHECK_BUTTON (vbox2, checkbtn_recipients_autoreg, _("Automatically add recipients to address book")); + PACK_CHECK_BUTTON (vbox2, checkbtn_show_send_dialog, + _("Display send dialog")); + vbox2 = gtk_vbox_new (FALSE, VSPACING_NARROW); gtk_widget_show (vbox2); gtk_box_pack_start (GTK_BOX (vbox_tab), vbox2, FALSE, FALSE, 0); @@ -1092,6 +1100,7 @@ static void prefs_send_create(void) p_send.checkbtn_savemsg = checkbtn_savemsg; p_send.checkbtn_filter_sent = checkbtn_filter_sent; p_send.checkbtn_recipients_autoreg = checkbtn_recipients_autoreg; + p_send.checkbtn_show_send_dialog = checkbtn_show_send_dialog; p_send.optmenu_encoding_method = optmenu_trencoding; p_send.optmenu_mime_fencoding_method = optmenu_fencoding; |