aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-22 03:50:41 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-22 03:50:41 +0800
commit489f84ce267ba513c56e37952fd4c2cbc16180f2 (patch)
tree21f97a2cf69f2632c5ec2fc02122d4ed5e8c2ded /calendar/gui/e-day-view.c
parent940383d6760233b3c265abcfbc843ed6e036e845 (diff)
downloadgsoc2013-evolution-489f84ce267ba513c56e37952fd4c2cbc16180f2.tar.gz
gsoc2013-evolution-489f84ce267ba513c56e37952fd4c2cbc16180f2.tar.zst
gsoc2013-evolution-489f84ce267ba513c56e37952fd4c2cbc16180f2.zip
Move the tooltip if it could hide in the corner.
svn path=/trunk/; revision=31860
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 34fa4c2ad3..f58502946d 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -5893,7 +5893,7 @@ e_day_view_on_text_item_event (GnomeCanvasItem *item,
pevent->tooltip = (GtkWidget *)g_object_get_data (G_OBJECT (day_view), "tooltip-window");
if (pevent->tooltip) {
- gtk_window_move ((GtkWindow *)pevent->tooltip, ((int)((GdkEventMotion *)event)->x_root)+16, ((int)((GdkEventMotion *)event)->y_root) +16);
+ e_calendar_view_move_tip (pevent->tooltip, pevent->x+16, pevent->y+16);
}
return TRUE;