[evince/wip/recent-view: 50/53] libgd: Highlight items on mouse-hover



commit 70e786ab45c304da26e800aecec5ba804fec2dc2
Author: Bogdan Petcu <bogdanconstantinpetcu gmail com>
Date:   Thu May 1 13:39:59 2014 -0700

    libgd: Highlight items on mouse-hover

 cut-n-paste/libgd/gd-toggle-pixbuf-renderer.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/cut-n-paste/libgd/gd-toggle-pixbuf-renderer.c b/cut-n-paste/libgd/gd-toggle-pixbuf-renderer.c
index 3267938..3ceaced 100644
--- a/cut-n-paste/libgd/gd-toggle-pixbuf-renderer.c
+++ b/cut-n-paste/libgd/gd-toggle-pixbuf-renderer.c
@@ -194,5 +194,10 @@ gd_toggle_pixbuf_renderer_init (GdTogglePixbufRenderer *self)
 GtkCellRenderer *
 gd_toggle_pixbuf_renderer_new (void)
 {
-  return g_object_new (GD_TYPE_TOGGLE_PIXBUF_RENDERER, NULL);
+   GtkCellRenderer *renderer;
+  
+   renderer = g_object_new (GD_TYPE_TOGGLE_PIXBUF_RENDERER, NULL);
+   g_object_set (renderer, "follow-state", TRUE, NULL);
+   
+   return renderer;
 }


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