[balsa/popover] balsa-message: Pop up the parts menu at the button



commit c6dfcce6f838c339fa06573b7751e886cba49c6b
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 506fcbd8a..76eb3dce2 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]