[Commits] [SCM] claws branch, master, updated. 3.11.1-29-ga10cf75

mones at claws-mail.org mones at claws-mail.org
Mon Nov 24 01:46:32 CET 2014


The branch, master has been updated
       via  a10cf7518f9d97e9925a9807dd9f3da283225776 (commit)
      from  f89eee0aba27d49665c47d62bec7dd631c8167c2 (commit)

Summary of changes:
 src/gtk/gtkcmclist.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


- Log -----------------------------------------------------------------
commit a10cf7518f9d97e9925a9807dd9f3da283225776
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Nov 24 01:43:10 2014 +0100

    Bug #2577 → improve focus rectangle removal in summaryview
    
    Patch by Andreas Rönnquist, thanks!

diff --git a/src/gtk/gtkcmclist.c b/src/gtk/gtkcmclist.c
index b280758..737b278 100644
--- a/src/gtk/gtkcmclist.c
+++ b/src/gtk/gtkcmclist.c
@@ -6610,9 +6610,9 @@ gtk_cmclist_draw_focus (GtkWidget *widget)
     cairo_dash_from_add_mode(clist, cr);
     cairo_set_line_width(cr, 1.0);
     cairo_set_antialias(cr, CAIRO_ANTIALIAS_NONE);
-    cairo_rectangle(cr, 0, ROW_TOP_YPIXEL(clist, clist->focus_row),
+    cairo_rectangle(cr, 0, ROW_TOP_YPIXEL(clist, clist->focus_row) + 0.5,
 			clist->clist_window_width + 1,
-			clist->row_height);
+			clist->row_height - 0.5);
     cairo_stroke(cr);
     cairo_destroy(cr);
   }
@@ -6639,9 +6639,9 @@ gtk_cmclist_undraw_focus (GtkWidget *widget)
     cairo_set_line_width(cr, 1.0);
     gdk_cairo_set_source_color(cr, &gtk_widget_get_style(widget)->base[GTK_STATE_NORMAL]);
     cairo_set_antialias(cr, CAIRO_ANTIALIAS_NONE);
-    cairo_rectangle(cr, 0, ROW_TOP_YPIXEL(clist, clist->focus_row),
+    cairo_rectangle(cr, 0, ROW_TOP_YPIXEL(clist, clist->focus_row) + 0.5,
 			clist->clist_window_width + 1,
-			clist->row_height);
+			clist->row_height - 0.5);
     cairo_stroke(cr);
     cairo_destroy(cr);
   }

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list