diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-05-08 08:08:19 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-05-08 08:08:19 +0800 |
commit | 36e820522ea303a510753fc5cd5a052b790b169c (patch) | |
tree | 2bfa9d650eed2f0033130f838dee306bb5f4adf8 /widgets/text/e-text.c | |
parent | 0f0089d684410a45eaa15b1224216cadba41f0b3 (diff) | |
download | gsoc2013-evolution-36e820522ea303a510753fc5cd5a052b790b169c.tar.gz gsoc2013-evolution-36e820522ea303a510753fc5cd5a052b790b169c.tar.zst gsoc2013-evolution-36e820522ea303a510753fc5cd5a052b790b169c.zip |
Request an update if just our line widths needed recalculation. This fixes
2001-05-07 Federico Mena Quintero <federico@ximian.com>
* gal/e-text/e-text.c (e_text_reflow): Request an update if just
our line widths needed recalculation. This fixes the bug where
the text item would not repaint itself if the canvas lost the
focus.
svn path=/trunk/; revision=9705
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r-- | widgets/text/e-text.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index c77c5d5d9b..0638134281 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1716,6 +1716,8 @@ e_text_reflow (GnomeCanvasItem *item, int flags) (text->clip_height != -1 ? text->clip_height : text->height) > text->yofs_edit) text->yofs_edit = e_font_height (text->font) * (i + 1) - (text->clip_height != -1 ? text->clip_height : text->height); + + gnome_canvas_item_request_update (item); } if ( text->needs_calc_height ) { calc_height (text); |