From 3035bf1e39f4f85c3499cf79860e89471ac8bd4f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 16 May 2020 21:54:14 -0400 Subject: [PATCH] widget-factory: Cosmetics Add a frame around the white background in the background selection dialog. Otherwise, it is not really visible. --- demos/widget-factory/widget-factory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c index 493ae60af9..21ce18c572 100644 --- a/demos/widget-factory/widget-factory.c +++ b/demos/widget-factory/widget-factory.c @@ -1148,6 +1148,7 @@ populate_flowbox (GtkWidget *flowbox) pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, 110, 70); gdk_pixbuf_fill (pixbuf, 0xffffffff); child = gtk_picture_new_for_pixbuf (pixbuf); + gtk_widget_add_css_class (child, "frame"); gtk_flow_box_insert (GTK_FLOW_BOX (flowbox), child, -1); for (i = 0; i < G_N_ELEMENTS (resources); i++)