[balsa/gtk4: 68/314] balsa-message: Pop up the parts menu at the button




commit f5ec389901c04ff0704adb63f1bd760a9219f339
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 7ccbc20da..2e8c48e43 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]