diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2001-01-05 08:48:00 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-01-05 08:48:00 +0800 |
commit | 26318a84b2c2267613659ba1912d3869a6694fad (patch) | |
tree | d872ad88791267488e32fd4521b1d0e2177b643e /widgets | |
parent | 3596cc5df5ac3e995a61e68bf2d61053688dbf7e (diff) | |
download | gsoc2013-evolution-26318a84b2c2267613659ba1912d3869a6694fad.tar.gz 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
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/text/e-text.c | 4 |
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); } } } |