[anjuta] anjuta-tabber: take focus-padding into account when rendering focus



commit 8a8531849b4b1ce434c6f4ce9e3df1192641b9f9
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Sun Apr 14 22:49:13 2013 +0200

    anjuta-tabber: take focus-padding into account when rendering focus

 libanjuta/anjuta-tabber.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libanjuta/anjuta-tabber.c b/libanjuta/anjuta-tabber.c
index da09adf..19c6e75 100644
--- a/libanjuta/anjuta-tabber.c
+++ b/libanjuta/anjuta-tabber.c
@@ -574,10 +574,10 @@ anjuta_tabber_draw_tab (AnjutaTabber* tabber, cairo_t* cr, GList* child)
                gtk_widget_get_allocation (tab, &allocation);
 
                gtk_render_focus (context, cr,
-                                 allocation.x - focus_width,
-                                 allocation.y - focus_width,
-                                 allocation.width + 2 * focus_width,
-                                 allocation.height + 2 * focus_width);
+                                 allocation.x - focus_space,
+                                 allocation.y - focus_space,
+                                 allocation.width + 2 * focus_space,
+                                 allocation.height + 2 * focus_space);
        }
        
        gtk_style_context_restore (context);


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