murrine r132 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r132 - in trunk: . src
- Date: Sun, 11 Jan 2009 14:11:02 +0000 (UTC)
Author: acimitan
Date: Sun Jan 11 14:11:01 2009
New Revision: 132
URL: http://svn.gnome.org/viewvc/murrine?rev=132&view=rev
Log:
2009-01-11 Andrea Cimitan <andrea cimitan gmail com>
* src/murrine_style.c (murrine_style_draw_shadow):
Clamp workspace switcher's roundness to 3.
Modified:
trunk/ChangeLog
trunk/src/murrine_style.c
Modified: trunk/src/murrine_style.c
==============================================================================
--- trunk/src/murrine_style.c (original)
+++ trunk/src/murrine_style.c Sun Jan 11 14:11:01 2009
@@ -441,9 +441,16 @@
}
else if (DETAIL ("scrolled_window") || DETAIL ("viewport") || detail == NULL)
{
- MurrineRGB *border = &colors->shade[5];
cairo_rectangle (cr, x+0.5, y+0.5, width-1, height-1);
- murrine_set_color_rgb (cr, border);
+ murrine_set_color_rgb (cr, &colors->shade[5]);
+ cairo_stroke (cr);
+ }
+ else if (DETAIL ("pager") || DETAIL ("pager-frame"))
+ {
+ murrine_rounded_rectangle (cr, x+0.5, y+0.5, width-1, height-1,
+ CLAMP (murrine_style->roundness, 0, 3),
+ MRN_CORNER_ALL);
+ murrine_set_color_rgb (cr, &colors->shade[5]);
cairo_stroke (cr);
}
else
@@ -452,7 +459,7 @@
FrameParameters frame;
frame.shadow = shadow_type;
- frame.gap_x = -1;
+ frame.gap_x = -1; /* No gap will be drawn */
frame.border = &colors->shade[4];
murrine_set_widget_parameters (widget, style, state_type, ¶ms);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]