[Xfce4-commits] [xfce/exo] 01/03: Revert "Replace ExoCellRendererIcon with GtkCellRendererPixbuf to improve the icon chooser appearance (bug #14970)"
noreply at xfce.org
noreply at xfce.org
Sat Jan 19 03:33:40 CET 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/exo.
commit 3e67fc6c8953cef42cbe7b1beaca6886ad7c0480
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Fri Jan 18 20:40:12 2019 -0500
Revert "Replace ExoCellRendererIcon with GtkCellRendererPixbuf to improve the icon chooser appearance (bug #14970)"
This reverts commit c551d0857e0595abb45d118d7c289fe57a44bf14.
---
exo/exo-icon-chooser-dialog.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/exo/exo-icon-chooser-dialog.c b/exo/exo-icon-chooser-dialog.c
index cac5db9..feb54f7 100644
--- a/exo/exo-icon-chooser-dialog.c
+++ b/exo/exo-icon-chooser-dialog.c
@@ -273,16 +273,13 @@ exo_icon_chooser_dialog_init (ExoIconChooserDialog *icon_chooser_dialog)
gtk_widget_show (priv->icon_chooser);
/* setup the icon renderer */
- renderer = gtk_cell_renderer_pixbuf_new ();
+ renderer = exo_cell_renderer_icon_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (priv->icon_chooser), renderer, TRUE);
- gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (priv->icon_chooser), renderer, "icon-name", EXO_ICON_CHOOSER_MODEL_COLUMN_ICON_NAME, NULL);
- g_object_set (G_OBJECT (renderer),
- "stock-size", GTK_ICON_SIZE_DIALOG,
- "follow-state", TRUE,
- NULL);
+ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (priv->icon_chooser), renderer, "icon", EXO_ICON_CHOOSER_MODEL_COLUMN_ICON_NAME, NULL);
/* setup the text renderer */
renderer = g_object_new (GTK_TYPE_CELL_RENDERER_TEXT,
+ /*"follow-state", TRUE,*/
"wrap-mode", PANGO_WRAP_WORD_CHAR,
"wrap-width", 104,
"xalign", 0.5f,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list