gtk-engines r1150 - in trunk: . engines/clearlooks/src
- From: bberg svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-engines r1150 - in trunk: . engines/clearlooks/src
- Date: Mon, 7 Apr 2008 21:15:36 +0100 (BST)
Author: bberg
Date: Mon Apr 7 21:15:35 2008
New Revision: 1150
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1150&view=rev
Log:
2008-04-07 Benjamin Berg <benjamin sipsolutions net>
* engines/clearlooks/src/clearlooks_style.c:
(clearlooks_style_draw_focus):
Add a workaround for the panel ButtonWidget. This is hopefully just
a intermediate solution until a real fix exists.
Modified:
trunk/ChangeLog
trunk/engines/clearlooks/src/clearlooks_style.c
Modified: trunk/engines/clearlooks/src/clearlooks_style.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_style.c (original)
+++ trunk/engines/clearlooks/src/clearlooks_style.c Mon Apr 7 21:15:35 2008
@@ -1387,6 +1387,14 @@
focus.type = CL_FOCUS_BUTTON;
else
focus.type = CL_FOCUS_BUTTON_FLAT;
+
+ /* This is a workaround for the bogus focus handling that
+ * clearlooks has currently.
+ * I truely dislike putting it here, but I guess it is better
+ * then having such a visible bug. It should be removed in the
+ * next unstable release cycle. -- Benjamin */
+ if (ge_object_is_a (G_OBJECT (widget), "ButtonWidget"))
+ focus.type = CL_FOCUS_LABEL;
}
}
else if (detail && g_str_has_prefix (detail, "treeview"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]