aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view.c10
-rw-r--r--calendar/gui/e-day-view.h7
2 files changed, 14 insertions, 3 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);
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h
index b00a6f0b3c..2c992f8207 100644
--- a/calendar/gui/e-day-view.h
+++ b/calendar/gui/e-day-view.h
@@ -49,12 +49,13 @@ extern "C" {
#define E_DAY_VIEW_MAX_COLUMNS 6
/* The width of the gap between appointments. This should be at least
- E_DAY_VIEW_BAR_WIDTH. */
-#define E_DAY_VIEW_GAP_WIDTH 6
+ E_DAY_VIEW_BAR_WIDTH, since in the top canvas we use this space to draw
+ the triangle to represent continuing events. */
+#define E_DAY_VIEW_GAP_WIDTH 8
/* The width of the bars down the left of each column and appointment.
This includes the borders on each side of it. */
-#define E_DAY_VIEW_BAR_WIDTH 6
+#define E_DAY_VIEW_BAR_WIDTH 8
/* The height of the horizontal bar above & beneath the selected event.
This includes the borders on the top and bottom. */