diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-20 05:11:34 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2010-12-20 05:11:34 +0000 |
commit | 1d2c08d736595d00fe3976b8774566783fa40c20 (patch) | |
tree | d296455c2bed82266ab07f1ae618a8d1069ee90b /src/prefs_common_dialog.c | |
parent | ab69c08b535b1098c0d399aefe19757d966754a2 (diff) |
added new option: 'Set only mail address when composing from address book'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2759 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common_dialog.c')
-rw-r--r-- | src/prefs_common_dialog.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c index ae60d73a..e7e76e8e 100644 --- a/src/prefs_common_dialog.c +++ b/src/prefs_common_dialog.c @@ -220,6 +220,7 @@ static struct Other { GtkWidget *checkbtn_close_recv_dialog; GtkWidget *checkbtn_addaddrbyclick; + GtkWidget *checkbtn_add_address_only; GtkWidget *radiobtn_addr_compl; GtkWidget *checkbtn_confonexit; @@ -546,6 +547,8 @@ static PrefsUIData ui_data[] = { {"add_address_by_click", &other.checkbtn_addaddrbyclick, prefs_set_data_from_toggle, prefs_set_toggle}, + {"always_add_address_only", &other.checkbtn_add_address_only, + prefs_set_data_from_toggle, prefs_set_toggle}, {"enable_address_completion", &other.radiobtn_addr_compl, prefs_common_addr_compl_set_data_from_radiobtn, prefs_common_addr_compl_set_radiobtn}, @@ -2525,6 +2528,7 @@ static GtkWidget *prefs_other_create(void) GtkWidget *frame_addr; GtkWidget *vbox_addr; GtkWidget *checkbtn_addaddrbyclick; + GtkWidget *checkbtn_add_address_only; GtkWidget *vbox_spc; GtkWidget *hbox_spc; GtkWidget *radiobtn_addr_compl; @@ -2585,6 +2589,10 @@ static GtkWidget *prefs_other_create(void) (vbox_addr, checkbtn_addaddrbyclick, _("Add address to destination when double-clicked")); + PACK_CHECK_BUTTON + (vbox_addr, checkbtn_add_address_only, + _("Set only mail address when composing from address book")); + PACK_VSPACER (vbox_addr, vbox_spc, VSPACING_NARROW_2); hbox1 = gtk_hbox_new (FALSE, 8); @@ -2656,7 +2664,8 @@ static GtkWidget *prefs_other_create(void) other.checkbtn_close_recv_dialog = checkbtn_close_recv_dialog; other.checkbtn_addaddrbyclick = checkbtn_addaddrbyclick; - other.radiobtn_addr_compl = radiobtn_addr_compl; + other.checkbtn_add_address_only = checkbtn_add_address_only; + other.radiobtn_addr_compl = radiobtn_addr_compl; other.checkbtn_confonexit = checkbtn_confonexit; other.checkbtn_cleanonexit = checkbtn_cleanonexit; |