[balsa/gtk4: 17/288] compose window: Improve popover placement




commit 8d0ee4d4c92891f8457c34bd573366d0ef1191bf
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]