[gtk/wip/baedert/for-master: 8/12] filechooserwidget: Add .menu to right-click popover
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 8/12] filechooserwidget: Add .menu to right-click popover
- Date: Sat, 19 Oct 2019 07:34:10 +0000 (UTC)
commit 09f502aba134b528e4e8b3dce6b8963079e70335
Author: Timm Bäder <mail baedert org>
Date: Fri Oct 18 08:27:30 2019 +0200
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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]