murrine r116 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r116 - in trunk: . src
- Date: Fri, 2 Jan 2009 21:28:18 +0000 (UTC)
Author: acimitan
Date: Fri Jan 2 21:28:18 2009
New Revision: 116
URL: http://svn.gnome.org/viewvc/murrine?rev=116&view=rev
Log:
2009-01-02 Andrea Cimitan <andrea cimitan gmail com>
* src/murrine_draw.c (murrine_draw_scale_trough):
* src/murrine_draw_rgba.c (murrine_rgba_draw_scale_trough):
Fixed a small bug on the scale gradient.
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 Fri Jan 2 21:28:18 2009
@@ -412,7 +412,7 @@
murrine_scale_draw_gradient (cr, &colors->spot[1], /* fill */
&colors->spot[2], /* border */
- widget->lightborder_shade,
+ widget->disabled ? 1.0 : widget->lightborder_shade,
fill_x, fill_y, fill_width, fill_height,
FALSE, slider->horizontal);
}
Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c (original)
+++ trunk/src/murrine_draw_rgba.c Fri Jan 2 21:28:18 2009
@@ -400,7 +400,7 @@
murrine_scale_draw_gradient (cr, &colors->spot[1], /* fill */
&colors->spot[2], /* border */
- widget->lightborder_shade,
+ widget->disabled ? 1.0 : widget->lightborder_shade,
fill_x, fill_y, fill_width, fill_height,
FALSE, slider->horizontal);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]