[gtk/wip/cellrendererpixbuf-fallbacks-3-24] gtkcellrendererpixbuf: Use fallback icons with icon-name
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/cellrendererpixbuf-fallbacks-3-24] gtkcellrendererpixbuf: Use fallback icons with icon-name
- Date: Mon, 8 Apr 2019 15:25:28 +0000 (UTC)
commit ed1481e5e4b1e556708df45730e38b1315018848
Author: Iain Lane <iainl gnome org>
Date: Mon Apr 8 14:52:49 2019 +0100
gtkcellrendererpixbuf: Use fallback icons with icon-name
This gives us a better chance of finding an icon to show.
Closes: #1809
gtk/gtkcellrendererpixbuf.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index d9349a5488..25b7ad4c21 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -391,6 +391,7 @@ create_icon_helper (
icon_helper = gtk_icon_helper_new (gtk_style_context_get_node (gtk_widget_get_style_context (widget)),
widget);
+ _gtk_icon_helper_set_use_fallback (icon_helper, TRUE);
_gtk_icon_helper_set_force_scale_pixbuf (icon_helper, TRUE);
_gtk_icon_helper_set_definition (icon_helper, priv->image_def);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]