[rhythmbox] entry-view: set follow-state on the pixbuf renderer



commit 4bf3fdd7b23a1fee60a0f31f4319f843ba7c4f26
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Jul 13 19:15:55 2013 +1000

    entry-view: set follow-state on the pixbuf renderer

 widgets/rb-entry-view.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/widgets/rb-entry-view.c b/widgets/rb-entry-view.c
index e758df0..ef82434 100644
--- a/widgets/rb-entry-view.c
+++ b/widgets/rb-entry-view.c
@@ -1844,7 +1844,10 @@ rb_entry_view_constructed (GObject *object)
                /* Playing icon column */
                column = GTK_TREE_VIEW_COLUMN (gtk_tree_view_column_new ());
                renderer = rb_cell_renderer_pixbuf_new ();
-               g_object_set (renderer, "stock-size", GTK_ICON_SIZE_MENU, NULL);
+               g_object_set (renderer,
+                             "stock-size", GTK_ICON_SIZE_MENU,
+                             "follow-state", TRUE,
+                             NULL);
                gtk_tree_view_column_pack_start (column, renderer, TRUE);
                gtk_tree_view_column_set_cell_data_func (column, renderer,
                                                         (GtkTreeCellDataFunc)


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