[balsa/gtk4: 24/311] compose window: Improve popover placement




commit 026e3d51f9461facb087f79aa828e7c5453e0adb
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]