[Commits] authors.h 1.1.2.73.2.1 1.1.2.73.2.2 gtkcmctree.c 1.1.2.17.2.2 1.1.2.17.2.3

miras at claws-mail.org miras at claws-mail.org
Fri Mar 16 00:54:46 CET 2012


Update of /home/claws-mail/claws/src/gtk
In directory srv:/tmp/cvs-serv17886/src/gtk

Modified Files:
      Tag: new-contacts
	authors.h gtkcmctree.c 
Log Message:
2012-03-15 [mir]	3.7.10cvs16.24-new-contacts

	* src/folder.c
	* src/messageview.c
	* src/messageview.h
	* src/procmsg.h
	* src/summaryview.c
	* src/textview.c
	* src/textview.h
	* src/gtk/authors.h
	* src/gtk/gtkcmctree.c
	    Applied patch 3.8.0cvs30 to 3.8.0cvs33 from HEAD

Index: authors.h
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/Attic/authors.h,v
retrieving revision 1.1.2.73.2.1
retrieving revision 1.1.2.73.2.2
diff -u -d -r1.1.2.73.2.1 -r1.1.2.73.2.2
--- authors.h	29 Nov 2011 00:15:24 -0000	1.1.2.73.2.1
+++ authors.h	15 Mar 2012 23:54:44 -0000	1.1.2.73.2.2
@@ -232,6 +232,7 @@
 "Markus Schwarzenberg",
 "Rodrigo Dias Arruda Senra",
 "Setoh",
+"Michael Shell",
 "shigeri",
 "Gustavo Noronha Silva",
 "Jesse Skinner",

Index: gtkcmctree.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/Attic/gtkcmctree.c,v
retrieving revision 1.1.2.17.2.2
retrieving revision 1.1.2.17.2.3
diff -u -d -r1.1.2.17.2.2 -r1.1.2.17.2.3
--- gtkcmctree.c	3 Jan 2012 20:48:23 -0000	1.1.2.17.2.2
+++ gtkcmctree.c	15 Mar 2012 23:54:44 -0000	1.1.2.17.2.3
@@ -695,6 +695,8 @@
         gdk_cairo_rectangle(cr, &cell_rectangle);
 	gdk_cairo_set_source_color(cr, &style->base[GTK_STATE_NORMAL]);
 	cairo_fill(cr);
+	cairo_rectangle(cr, cell_rectangle.x, cell_rectangle.y + row_rectangle.height + 1,cell_rectangle.width,cell_rectangle.height);
+	cairo_fill(cr);
       }
     }
   else
@@ -704,6 +706,8 @@
       gdk_cairo_rectangle(cr, &cell_rectangle);
       gdk_cairo_set_source_color(cr, &style->base[GTK_STATE_NORMAL]);
       cairo_fill(cr);
+      cairo_rectangle(cr, cell_rectangle.x, cell_rectangle.y + row_rectangle.height + 1,cell_rectangle.width,cell_rectangle.height);
+      cairo_fill(cr);
     }
 
   /* the last row has to clear its bottom cell spacing too */
@@ -930,7 +934,8 @@
     }
    /* draw focus rectangle */
   if (clist->focus_row == row &&
-      gtk_widget_get_can_focus (widget) && gtk_widget_has_focus (widget))
+      gtk_widget_get_can_focus (widget) && gtk_widget_has_focus (widget)
+       && state == GTK_STATE_SELECTED)
     {
       if (!area || gdk_rectangle_intersect (area, &row_rectangle,
 					&intersect_rectangle))
@@ -938,9 +943,10 @@
 	    cairo_set_line_width(cr, 1.0);
 	    cairo_set_antialias(cr, CAIRO_ANTIALIAS_NONE);
 	    gdk_cairo_set_source_color(cr, &style->fg[GTK_STATE_NORMAL]);
-	    cairo_rectangle(cr, row_rectangle.x, row_rectangle.y,
-			      row_rectangle.width + 1,
-			      row_rectangle.height);
+	    cairo_move_to (cr, row_rectangle.x, row_rectangle.y + 0.5);
+	    cairo_line_to (cr, row_rectangle.x + row_rectangle.width, row_rectangle.y + 0.5);
+	    cairo_move_to (cr, row_rectangle.x, row_rectangle.y + row_rectangle.height - 0.5);
+	    cairo_line_to (cr, row_rectangle.x + row_rectangle.width, row_rectangle.y + row_rectangle.height - 0.5);
 	    cairo_stroke(cr);
 	}
      }



More information about the Commits mailing list