aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 747f541997..3e5054b9f7 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -5008,6 +5008,11 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
/* Reset this since it will be invalid. */
day_view->drag_event_day = -1;
+ /* Show the text item again, just in case it hasn't
+ moved. If we don't do this it may not appear. */
+ if (event->canvas_item)
+ gnome_canvas_item_show (event->canvas_item);
+
/* Notify calendar of change */
gnome_calendar_object_changed (day_view->calendar,
&ico, CHANGE_DATES);
@@ -5082,6 +5087,11 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
/* Reset this since it will be invalid. */
day_view->drag_event_day = -1;
+ /* Show the text item again, just in case it hasn't
+ moved. If we don't do this it may not appear. */
+ if (event->canvas_item)
+ gnome_canvas_item_show (event->canvas_item);
+
/* Notify calendar of change */
gnome_calendar_object_changed (day_view->calendar,
&ico, CHANGE_DATES);