murrine r51 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r51 - in trunk: . src
- Date: Sun, 31 Aug 2008 18:30:30 +0000 (UTC)
Author: acimitan
Date: Sun Aug 31 18:30:29 2008
New Revision: 51
URL: http://svn.gnome.org/viewvc/murrine?rev=51&view=rev
Log:
2008-08-31 Andrea Cimitan <andrea cimitan gmail com>
* src/murrine_draw.c (murrine_draw_button):
* src/murrine_draw_rgba.c (murrine_rgba_draw_button):
Do not colorize disabled default button
Modified:
trunk/ChangeLog
trunk/src/murrine_draw.c
trunk/src/murrine_draw_rgba.c
Modified: trunk/src/murrine_draw.c
==============================================================================
--- trunk/src/murrine_draw.c (original)
+++ trunk/src/murrine_draw.c Sun Aug 31 18:30:29 2008
@@ -166,7 +166,7 @@
custom_highlight_ratio = get_decreased_ratio (widget->highlight_ratio, 2.0);
}
- if (widget->is_default)
+ if (widget->is_default && !widget->disabled)
murrine_mix_color (&fill, &colors->spot[1], 0.2, &fill);
if (!horizontal)
Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c (original)
+++ trunk/src/murrine_draw_rgba.c Sun Aug 31 18:30:29 2008
@@ -164,7 +164,7 @@
custom_highlight_ratio = get_decreased_ratio (widget->highlight_ratio, 2.0);
}
- if (widget->is_default)
+ if (widget->is_default && !widget->disabled)
murrine_mix_color (&fill, &colors->spot[1], 0.2, &fill);
if (!horizontal)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]