[balsa/gtk4: 45/193] balsa-message: Pop up the parts menu at the button




commit 2bb454d63bc33ab0939cd51446f2836024efa893
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Jun 20 16:21:12 2020 -0400

    balsa-message: Pop up the parts menu at the button

 src/balsa-message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/balsa-message.c b/src/balsa-message.c
index 2434389c8..e722f3b41 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -244,7 +244,7 @@ balsa_headers_attachments_popup(GtkButton * button, BalsaMessage * balsa_message
             gtk_popover_popup(GTK_POPOVER(balsa_message->parts_popup));
         } else {
             gtk_menu_popup_at_widget(GTK_MENU(balsa_message->parts_popup),
-                                     GTK_WIDGET(balsa_message),
+                                     GTK_WIDGET(balsa_message->attach_button),
                                      GDK_GRAVITY_CENTER, GDK_GRAVITY_CENTER,
                                      NULL);
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]