[balsa/popover: 11/65] compose window: Improve popover placement




commit afc814cc0d7ab6fffc0f369e3e6dab1a50f83ab7
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 6e03e66cc..0b3f15a2b 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -1833,7 +1833,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]