From 426d5ca1b7c952d4b92589150be04ff1164c9574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Fri, 18 Oct 2019 08:27:30 +0200 Subject: [PATCH] filechooserwidget: Add .menu to right-click popover Make it look like the other menus. --- gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index aa5e456fc0..3412a55d63 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -2244,8 +2244,8 @@ file_list_build_popover (GtkFileChooserWidget *impl) return; priv->browse_files_popover = gtk_popover_new (priv->browse_files_tree_view); + gtk_style_context_add_class (gtk_widget_get_style_context (priv->browse_files_popover), "menu"); box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - g_object_set (box, "margin", 10, NULL); gtk_container_add (GTK_CONTAINER (priv->browse_files_popover), box); priv->visit_file_item = add_button (box, _("_Visit File"), "item.visit");