[gtk+] treeview: render a frame around the rows, after drawing their background



commit 42f5856e77ed959a8e4b8b3b0b118463f27f634e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 16 23:03:09 2011 -0400

    treeview: render a frame around the rows, after drawing their background
    
    https://bugzilla.gnome.org/show_bug.cgi?id=650424

 gtk/gtktreeview.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index cd445bb..3be3730 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -4997,6 +4997,13 @@ gtk_tree_view_bin_draw (GtkWidget      *widget,
                                  background_area.width,
                                  background_area.height);
 
+          /* Draw frame */
+          gtk_render_frame (context, cr,
+                            background_area.x,
+                            background_area.y,
+                            background_area.width,
+                            background_area.height);
+
 	  if (gtk_tree_view_is_expander_column (tree_view, column))
 	    {
 	      if (!rtl)



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