summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-12-24 05:00:17 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-01-02 12:48:43 +0000
commitb21feda789b55389ec1e9e961d4e7c67711e984d (patch)
tree24cc4ecc752510a57eb20c41058209f936f12e82
parentfdcc16e04b2e539ab827758b4db48630a58a4d8d (diff)
downloadnautilus-b21feda789b55389ec1e9e961d4e7c67711e984d.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.c2
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),