[balsa/gtk3] Use create_email_or_string_entry for Fcc header
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Use create_email_or_string_entry for Fcc header
- Date: Wed, 22 May 2013 16:27:54 +0000 (UTC)
commit a859f2b8e745eb7533e61ed7820204067494035d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed May 22 12:27:26 2013 -0400
Use create_email_or_string_entry for Fcc header
* src/sendmsg-window.c (create_info_pane): use
create_email_or_string_entry for Fcc header.
ChangeLog | 5 +++++
src/sendmsg-window.c | 10 +---------
2 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f70b8bb..78c725d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-22 Peter Bloomfield
+
+ * src/sendmsg-window.c (create_info_pane): use
+ create_email_or_string_entry for Fcc header.
+
2013-05-20 Peter Bloomfield
* libbalsa/html.c: drop obsolete include.
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index c586b85..e91990f 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -2950,13 +2950,6 @@ create_info_pane(BalsaSendmsg * bsmsg)
#endif
/* fcc: mailbox folder where the message copy will be written to */
- bsmsg->fcc[0] = gtk_label_new_with_mnemonic(_("F_cc:"));
- gtk_misc_set_alignment(GTK_MISC(bsmsg->fcc[0]), 0.0, 0.5);
- gtk_misc_set_padding(GTK_MISC(bsmsg->fcc[0]), GNOME_PAD_SMALL,
- GNOME_PAD_SMALL);
- ++row;
- gtk_grid_attach(GTK_GRID(grid), bsmsg->fcc[0], 0, row, 1, 1);
-
if (!balsa_app.fcc_mru)
balsa_mblist_mru_add(&balsa_app.fcc_mru, balsa_app.sentbox->url);
balsa_mblist_mru_add(&balsa_app.fcc_mru, "");
@@ -2973,8 +2966,7 @@ create_info_pane(BalsaSendmsg * bsmsg)
bsmsg->fcc[1] =
balsa_mblist_mru_option_menu(GTK_WINDOW(bsmsg->window),
&balsa_app.fcc_mru);
- gtk_label_set_mnemonic_widget(GTK_LABEL(bsmsg->fcc[0]), bsmsg->fcc[1]);
- gtk_grid_attach(GTK_GRID(grid), bsmsg->fcc[1] , 1, row, 1, 1);
+ create_email_or_string_entry(grid, _("F_cc:"), ++row, bsmsg->fcc);
/* Attachment list */
bsmsg->attachments[0] = gtk_label_new_with_mnemonic(_("_Attachments:"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]