[nautilus] files-view: Drop arrow from selection context menu
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] files-view: Drop arrow from selection context menu
- Date: Fri, 4 Mar 2022 18:20:51 +0000 (UTC)
commit 2ccae457fa862fbfc713b0ce532350f9010686a0
Author: Ignacy Kuchciński <ignacykuchcinski gmail com>
Date: Wed Feb 23 11:41:23 2022 +0100
files-view: Drop arrow from selection context menu
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2086
src/nautilus-files-view.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c
index 046dd5e28..421274d2d 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -8293,6 +8293,8 @@ nautilus_files_view_pop_up_selection_context_menu (NautilusFilesView *view,
{
priv->selection_menu = gtk_popover_menu_new_from_model (NULL);
gtk_widget_set_parent (priv->selection_menu, GTK_WIDGET (view));
+ gtk_popover_set_has_arrow (GTK_POPOVER (priv->selection_menu), FALSE);
+ gtk_widget_set_halign (priv->selection_menu, GTK_ALIGN_START);
g_signal_connect (priv->selection_menu, "destroy", G_CALLBACK (gtk_widget_unparent), NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]