[latexila/wip/build-tools-revamp: 2/3] BuildView: use icon-name instead of pixbuf



commit 11929c22760f72b6af9aeeb8c3fc674e189b40e1
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu May 8 15:10:54 2014 +0200

    BuildView: use icon-name instead of pixbuf

 src/liblatexila/latexila-build-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/liblatexila/latexila-build-view.c b/src/liblatexila/latexila-build-view.c
index 4b32332..616138f 100644
--- a/src/liblatexila/latexila-build-view.c
+++ b/src/liblatexila/latexila-build-view.c
@@ -311,7 +311,7 @@ init_tree_models (LatexilaBuildView *build_view)
   g_assert (build_view->priv->store == NULL);
 
   build_view->priv->store = gtk_tree_store_new (NB_COLUMNS,
-                                                GDK_TYPE_PIXBUF,  /* icon */
+                                                G_TYPE_STRING,    /* icon name */
                                                 G_TYPE_STRING,    /* message */
                                                 LATEXILA_TYPE_BUILD_MSG_TYPE,
                                                 G_TYPE_INT,       /* weight (normal or bold) */
@@ -428,7 +428,7 @@ init_tree_view (LatexilaBuildView *build_view)
 
   renderer = gtk_cell_renderer_pixbuf_new ();
   gtk_tree_view_column_pack_start (column, renderer, FALSE);
-  gtk_tree_view_column_add_attribute (column, renderer, "pixbuf", COLUMN_ICON);
+  gtk_tree_view_column_add_attribute (column, renderer, "icon-name", COLUMN_ICON);
 
   renderer = gtk_cell_renderer_text_new ();
   g_object_set (renderer,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]