projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2a3aab
)
widget-factory: Cosmetics
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 17 May 2020 01:54:14 +0000
(21:54 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 17 May 2020 01:54:14 +0000
(21:54 -0400)
Add a frame around the white background in the background
selection dialog. Otherwise, it is not really visible.
demos/widget-factory/widget-factory.c
patch
|
blob
|
history
diff --git
a/demos/widget-factory/widget-factory.c
b/demos/widget-factory/widget-factory.c
index 493ae60af95b16ff80c54144f938c5b10cba8e8e..21ce18c572b76e78a0fa7d84fb96273bd941bbfe 100644
(file)
--- 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++)