Author: bberg
Date: Mon Jan 28 15:21:40 2008
New Revision: 1038
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1038&view=rev
Log:
2008-01-28 Benjamin Berg <[EMAIL PROTECTED]>
* engines/clearlooks/src/clearlooks_draw_gummy.c:
(clearlooks_gummy_draw_tab), (clearlooks_gummy_draw_focus):
Added a comment and more restrictive no-focus drawing for the
notebook tab.
Modified:
trunk/ChangeLog
trunk/engines/clearlooks/src/clearlooks_draw_gummy.c
Modified: trunk/engines/clearlooks/src/clearlooks_draw_gummy.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_draw_gummy.c (original)
+++ trunk/engines/clearlooks/src/clearlooks_draw_gummy.c Mon Jan 28
15:21:40 2008
@@ -835,6 +835,7 @@
cairo_pattern_destroy (pattern);
}
+ /* In current GTK+ focus and active cannot happen together, but we are
robust against it. */
if (params->focus && !params->active)
{
CairoColor focus_fill = tab->focus.color;
@@ -1657,7 +1658,9 @@
focus_fill = FALSE;
break;
case CL_FOCUS_TAB:
- if (widget->focus)
+ /* In current GTK+ focus and active cannot happen together, but
we are robust against it.
+ * IF the application sets the state to ACTIVE while drawing
the tabs focus. */
+ if (widget->focus && !widget->active)
return;
border_alpha = 0.6;
fill_alpha = 0.17;
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.