[Commits] gtkcmctree.c 1.1.2.29 1.1.2.30 authors.h 1.1.2.76 1.1.2.77

colin at claws-mail.org colin at claws-mail.org
Sun Mar 11 10:19:25 CET 2012


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

Modified Files:
      Tag: gtk2
	gtkcmctree.c authors.h 
Log Message:
2012-03-11 [colin]	3.8.0cvs31

	* src/gtk/gtkcmctree.c
	* src/gtk/authors.h
	* AUTHORS
		Fix focus rectangle on unfocused rows
		Patch by Michael Shell

Index: authors.h
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/Attic/authors.h,v
retrieving revision 1.1.2.76
retrieving revision 1.1.2.77
diff -u -d -r1.1.2.76 -r1.1.2.77
--- authors.h	19 Nov 2011 15:14:01 -0000	1.1.2.76
+++ authors.h	11 Mar 2012 09:19:23 -0000	1.1.2.77
@@ -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.29
retrieving revision 1.1.2.30
diff -u -d -r1.1.2.29 -r1.1.2.30
--- gtkcmctree.c	29 Feb 2012 16:48:40 -0000	1.1.2.29
+++ gtkcmctree.c	11 Mar 2012 09:19:23 -0000	1.1.2.30
@@ -934,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))



More information about the Commits mailing list