[balsa/gtk4: 11/248] compose window: Improve popover placement




commit d0440280c4ee58efb075a7c31fd48f7c2b5c6fd9
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 63d246ae2..beaf2ffaa 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -1826,7 +1826,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]