aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-05 08:48:00 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-05 08:48:00 +0800
commit26318a84b2c2267613659ba1912d3869a6694fad (patch)
treed872ad88791267488e32fd4521b1d0e2177b643e
parent3596cc5df5ac3e995a61e68bf2d61053688dbf7e (diff)
downloadgsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.tar
gsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.tar.gz
gsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.tar.bz2
gsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.tar.lz
gsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.tar.xz
gsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.tar.zst
gsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.zip
Fixed the border bug. Borders draw properly now.
2001-01-04 Christopher James Lahey <clahey@helixcode.com> * gal/e-text/e-text.c (e_text_draw): Fixed the border bug. Borders draw properly now. svn path=/trunk/; revision=7263
-rw-r--r--widgets/text/e-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index fc07a6c78e..d561a10d1f 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1814,7 +1814,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable,
gtk_paint_shadow (widget->style, drawable,
GTK_STATE_NORMAL, GTK_SHADOW_IN,
NULL, widget, "entry",
- thisx - x, thisy - y, thiswidth, thisheight);
+ thisx, thisy, thiswidth, thisheight);
if (text->editing) {
/*
@@ -1826,7 +1826,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable,
*/
gtk_paint_focus (widget->style, drawable,
NULL, widget, "entry",
- thisx - 1, thisy - 1, thiswidth + 2, thisheight + 2);
+ thisx - 1, thisy - 1, thiswidth + 1, thisheight + 1);
}
}
}