[balsa/69-resend-message] sendmsg-window: Manage the "View" menu
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/69-resend-message] sendmsg-window: Manage the "View" menu
- Date: Wed, 2 Mar 2022 21:28:37 +0000 (UTC)
commit 0a4627a6e9c5d04756de67260b94496bbe1ba8fd
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Mar 2 15:38:30 2022 -0500
sendmsg-window: Manage the "View" menu
src/sendmsg-window.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index b456259cc..c427693ec 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -6115,6 +6115,9 @@ sw_entry_helper(GSimpleAction * action,
BalsaSendmsg * bsmsg,
GtkWidget * entry[])
{
+ if (entry[0] == NULL)
+ return;
+
if (g_variant_get_boolean(state)) {
gtk_widget_show_all(entry[0]);
gtk_widget_show_all(entry[1]);
@@ -6944,7 +6947,9 @@ sendmsg_window_new(SendType send_type)
gtk_paned_add1(GTK_PANED(paned), create_info_pane(bsmsg));
bsmsg->tree_view = NULL;
- if (send_type != SEND_RESEND) {
+ if (send_type == SEND_RESEND) {
+ init_menus(bsmsg);
+ } else {
/*
* Set up the spell-checker language menu
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]