[murrine] Adjust radio and check positions inside menu (maybe it is wrong with different font sizes)
- From: Andrea Cimitan <acimitan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [murrine] Adjust radio and check positions inside menu (maybe it is wrong with different font sizes)
- Date: Mon, 19 Jul 2010 16:07:35 +0000 (UTC)
commit ccb210e2a185af736c6f0cf618e873be4fde0335
Author: Andrea Cimitan <andrea cimitan gmail com>
Date: Mon Jul 19 18:06:57 2010 +0200
Adjust radio and check positions inside menu (maybe it is wrong with different font sizes)
src/murrine_draw.c | 2 +-
src/murrine_draw_rgba.c | 2 +-
src/murrine_style.c | 20 ++++++++++----------
3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/src/murrine_draw.c b/src/murrine_draw.c
index b8fc5b6..465a21a 100644
--- a/src/murrine_draw.c
+++ b/src/murrine_draw.c
@@ -2656,7 +2656,7 @@ murrine_draw_checkbox (cairo_t *cr,
if (!draw_box)
{
cairo_scale (cr, (double)width/18.0, (double)height/18.0);
- cairo_translate (cr, 2.0, 2.0);
+ cairo_translate (cr, 2.0, 3.0);
}
else
{
diff --git a/src/murrine_draw_rgba.c b/src/murrine_draw_rgba.c
index 2ea9160..11929c3 100644
--- a/src/murrine_draw_rgba.c
+++ b/src/murrine_draw_rgba.c
@@ -1996,7 +1996,7 @@ murrine_rgba_draw_checkbox (cairo_t *cr,
if (!draw_box)
{
cairo_scale (cr, (double)width/18.0, (double)height/18.0);
- cairo_translate (cr, 2.0, 2.0);
+ cairo_translate (cr, 2.0, 3.0);
}
else
{
diff --git a/src/murrine_style.c b/src/murrine_style.c
index c052501..b1c55c7 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -160,17 +160,17 @@ murrine_set_widget_parameters (const GtkWidget *widget,
{
mrn_gradient.has_gradient_colors = TRUE;
murrine_gdk_color_to_rgb (&murrine_style->gradient_colors[0], &mrn_gradient.gradient_colors[0].r,
- &mrn_gradient.gradient_colors[0].g,
- &mrn_gradient.gradient_colors[0].b);
+ &mrn_gradient.gradient_colors[0].g,
+ &mrn_gradient.gradient_colors[0].b);
murrine_gdk_color_to_rgb (&murrine_style->gradient_colors[1], &mrn_gradient.gradient_colors[1].r,
- &mrn_gradient.gradient_colors[1].g,
- &mrn_gradient.gradient_colors[1].b);
+ &mrn_gradient.gradient_colors[1].g,
+ &mrn_gradient.gradient_colors[1].b);
murrine_gdk_color_to_rgb (&murrine_style->gradient_colors[2], &mrn_gradient.gradient_colors[2].r,
- &mrn_gradient.gradient_colors[2].g,
- &mrn_gradient.gradient_colors[2].b);
+ &mrn_gradient.gradient_colors[2].g,
+ &mrn_gradient.gradient_colors[2].b);
murrine_gdk_color_to_rgb (&murrine_style->gradient_colors[3], &mrn_gradient.gradient_colors[3].r,
- &mrn_gradient.gradient_colors[3].g,
- &mrn_gradient.gradient_colors[3].b);
+ &mrn_gradient.gradient_colors[3].g,
+ &mrn_gradient.gradient_colors[3].b);
if (params->prelight && !MRN_IS_PROGRESS_BAR(widget)) //progressbar is prelight, no change in shade
{
mrn_gradient.gradient_shades[0] *= murrine_style->prelight_shade;
@@ -2205,8 +2205,8 @@ murrine_style_draw_focus (GtkStyle *style, GdkWindow *window, GtkStateType state
if (DETAIL("button"))
{
if (widget && widget->parent &&
- (MRN_IS_TREE_VIEW (widget->parent) ||
- MRN_IS_CLIST (widget->parent)))
+ (MRN_IS_TREE_VIEW (widget->parent) ||
+ MRN_IS_CLIST (widget->parent)))
{
focus.type = MRN_FOCUS_TREEVIEW_HEADER;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]