diff options
-rw-r--r-- | widgets/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/text/e-text.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog index 7b352fd476..7a2d6a637e 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,10 @@ +2008-02-19 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #383438 + + * text/e-text.c: (e_text_point): + Report "mouse over" even with no text entered. + 2008-02-03 Matthew Barnes <mbarnes@redhat.com> * text/e-text.c (update_im_cursor_position): diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 69fc7498b7..a87ed77781 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1700,7 +1700,7 @@ e_text_point (GnomeCanvasItem *item, double x, double y, cy > text->clip_cy + clip_height) return 1; - if (text->fill_clip_rectangle) + if (text->fill_clip_rectangle || !text->text || !*text->text) return 0; cx -= text->cx; |