diff options
-rw-r--r-- | widgets/text/e-entry.c | 2 | ||||
-rw-r--r-- | widgets/text/e-text.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c index b84e622de6..02ca564532 100644 --- a/widgets/text/e-entry.c +++ b/widgets/text/e-entry.c @@ -201,7 +201,7 @@ canvas_focus_in_event (GtkWidget *widget, GdkEventFocus *focus, EEntry *entry) if (entry->canvas->focused_item != GNOME_CANVAS_ITEM(entry->item)) gnome_canvas_item_grab_focus(GNOME_CANVAS_ITEM(entry->item)); - return 0; + return FALSE; } static void 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); |