diff options
author | António Fernandes <antoniof@gnome.org> | 2021-12-24 05:00:17 +0000 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2022-01-05 12:56:33 +0000 |
commit | 79bb27c21583b9b466cb6c8d6e2cd45cb1aab417 (patch) | |
tree | a5542002f0736deabd8e6f28dfd67672213aa6b5 | |
parent | 2948f5078c864a61297f0931d294c0b1c804e992 (diff) | |
download | nautilus-79bb27c21583b9b466cb6c8d6e2cd45cb1aab417.tar.gz |
files-view: Drop arrow from background context menu
It doesn't have an specific target to point to.
-rw-r--r-- | src/nautilus-files-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c index 5c37b8347..a40d9e6a7 100644 --- a/src/nautilus-files-view.c +++ b/src/nautilus-files-view.c @@ -8320,6 +8320,8 @@ nautilus_files_view_pop_up_background_context_menu (NautilusFilesView *view, { priv->background_menu = gtk_popover_menu_new_from_model (NULL); gtk_widget_set_parent (priv->background_menu, GTK_WIDGET (view)); + gtk_popover_set_has_arrow (GTK_POPOVER (priv->background_menu), FALSE); + gtk_widget_set_halign (priv->background_menu, GTK_ALIGN_START); g_signal_connect (priv->background_menu, "destroy", G_CALLBACK (gtk_widget_unparent), NULL); } gtk_popover_menu_set_menu_model (GTK_POPOVER_MENU (priv->background_menu), |