aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-02-20 03:08:51 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-02-20 03:08:51 +0800
commit799f590a17eddb396c590c91c87192ee91f93e4b (patch)
treea35704dad9c2d88870dd21ded38e760fb7dbc9de /widgets
parentad7d90b2242ed1719d000de510acf56875c61ac7 (diff)
downloadgsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.gz
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.bz2
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.lz
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.xz
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.tar.zst
gsoc2013-evolution-799f590a17eddb396c590c91c87192ee91f93e4b.zip
** Fix for bug #383438
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. svn path=/trunk/; revision=35056
Diffstat (limited to 'widgets')
-rw-r--r--widgets/ChangeLog7
-rw-r--r--widgets/text/e-text.c2
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;