[nautilus/wip/antoniof/post-gtk4-switch-fixes: 17/19] files-view: Drop arrow from background context menu
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/post-gtk4-switch-fixes: 17/19] files-view: Drop arrow from background context menu
- Date: Sun, 9 Jan 2022 01:33:56 +0000 (UTC)
commit 3c9477250eb9efba5f970552e1df8bfde57fb390
Author: António Fernandes <antoniof gnome org>
Date: Fri Dec 24 05:00:17 2021 +0000
files-view: Drop arrow from background context menu
It doesn't have an specific target to point to.
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 c815e8c74..eb07d9f95 100644
--- a/src/nautilus-files-view.c
+++ b/src/nautilus-files-view.c
@@ -8316,6 +8316,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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]