[balsa/gtk4: 29/312] compose window: Improve popover placement




commit 92a4ec542e7286738fd1a496411b17b13621c0de
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed May 6 19:51:17 2020 -0400

    compose window: Improve popover placement

 src/sendmsg-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index bc363e9d2..76801bc29 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -1829,7 +1829,7 @@ add_attachment(BalsaSendmsg * bsmsg, const gchar *filename,
     }
 
     attach_data->popup_menu =
-        gtk_popover_new_from_model(bsmsg->text, G_MENU_MODEL(menu));
+        gtk_popover_new_from_model(bsmsg->tree_view, G_MENU_MODEL(menu));
     g_object_unref(menu);
 
     /* append to the list store */


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