forked from AuroraMiddleware/gtk
widget-factory: Cosmetics
Add a frame around the white background in the background selection dialog. Otherwise, it is not really visible.
This commit is contained in:
parent
a2a3aab94d
commit
3035bf1e39
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user