aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-completion-view.c
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2001-06-07 23:50:51 +0800
committerJacob Berkman <jberkman@src.gnome.org>2001-06-07 23:50:51 +0800
commit011e2ddb2e7663b015f6c30730753188cc6f11ee (patch)
treeda35dc8a26c9cf55dee8f3e1714af96c6aff572f /widgets/text/e-completion-view.c
parenta274139653e48e3e8160cf1614408339adbf1988 (diff)
downloadgsoc2013-evolution-011e2ddb2e7663b015f6c30730753188cc6f11ee.tar.gz
gsoc2013-evolution-011e2ddb2e7663b015f6c30730753188cc6f11ee.tar.zst
gsoc2013-evolution-011e2ddb2e7663b015f6c30730753188cc6f11ee.zip
we can ignore the border, as e-text takes care of that for us
2001-06-07 jacob berkman <jacob@ximian.com> * gal/e-text/e-entry.c (canvas_size_allocate): we can ignore the border, as e-text takes care of that for us (canvas_size_request): correctly handle when borders should be drawn * gal/e-text/e-completion-view.c (e_completion_view_paint): fix a small bug in the drawing-2-pixel-border change to my patch svn path=/trunk/; revision=10149
Diffstat (limited to 'widgets/text/e-completion-view.c')
-rw-r--r--widgets/text/e-completion-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c
index aac38ccec9..e62209efe6 100644
--- a/widgets/text/e-completion-view.c
+++ b/widgets/text/e-completion-view.c
@@ -84,8 +84,8 @@ e_completion_view_paint (GtkWidget *widget, GdkRectangle *area)
gdk_draw_rectangle (widget->window,
widget->style->black_gc,
FALSE, i, i,
- widget->allocation.width-1-i,
- widget->allocation.height-1-i);
+ widget->allocation.width-1-2*i,
+ widget->allocation.height-1-2*i);
}