aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2006-01-02 22:12:41 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-01-02 22:12:41 +0800
commit710bcfd46c28b15161217cba4593079b1831a2d0 (patch)
treef2ecc8d2a0cf4a8cc0a45a4e16a1f6eb7651d200 /calendar/gui/e-day-view.c
parentf3b7471200e807b19d8542694e9bc3eaaa17d824 (diff)
downloadgsoc2013-evolution-710bcfd46c28b15161217cba4593079b1831a2d0.tar.gz
gsoc2013-evolution-710bcfd46c28b15161217cba4593079b1831a2d0.tar.zst
gsoc2013-evolution-710bcfd46c28b15161217cba4593079b1831a2d0.zip
** Fix for bug #325414
2006-01-02 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #325414 * gui/e-calendar-view.c: (e_calendar_view_get_tooltips): Added null check for the string before creating the tooltips and stopped showing it. * gui/e-day-view.c: (e_day_view_on_editing_stopped): * gui/e-week-view.c: (e_week_view_on_editing_stopped): Added code to hide tooltips window when start/stop hiding svn path=/trunk/; revision=31027
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 6720b08143..3288559b11 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -6331,6 +6331,17 @@ e_day_view_on_editing_stopped (EDayView *day_view,
out:
+ if (event) {
+ if (event->tooltip) {
+ gtk_widget_destroy (event->tooltip);
+ event->tooltip = NULL;
+ }
+
+ if (event->timeout != -1) {
+ g_source_remove (event->timeout);
+ event->timeout = -1;
+ }
+ }
g_object_unref (comp);
g_free (text);