aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-07-27 23:54:45 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-29 00:23:11 +0800
commit7bebc31932e74db65e3720f32ab2f6664fd9e58b (patch)
tree7d6c3d335d99f9f82e46af0ff0b910e6420d7ae1 /calendar/gui/e-day-view.c
parente119ae2938fb1e3b41191fe958857c4b8f414a32 (diff)
downloadgsoc2013-evolution-7bebc31932e74db65e3720f32ab2f6664fd9e58b.tar.gz
gsoc2013-evolution-7bebc31932e74db65e3720f32ab2f6664fd9e58b.tar.zst
gsoc2013-evolution-7bebc31932e74db65e3720f32ab2f6664fd9e58b.zip
Bug #245829 - Cannot copy (with mouse for pasting) appointment summary
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 7e7e5f7624..56233da889 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -3129,8 +3129,10 @@ e_day_view_on_long_event_click (EDayView *day_view,
/* Ignore clicks on the EText while editing. */
if (pos == E_CALENDAR_VIEW_POS_EVENT
- && E_TEXT (event->canvas_item)->editing)
+ && E_TEXT (event->canvas_item)->editing) {
+ GNOME_CANVAS_ITEM_GET_CLASS (event->canvas_item)->event (event->canvas_item, (GdkEvent*)bevent);
return;
+ }
if ((e_cal_util_component_is_instance (event->comp_data->icalcomp) ||
!e_cal_util_component_has_recurrences (event->comp_data->icalcomp))
@@ -3200,8 +3202,10 @@ e_day_view_on_event_click (EDayView *day_view,
/* Ignore clicks on the EText while editing. */
if (pos == E_CALENDAR_VIEW_POS_EVENT
- && E_TEXT (event->canvas_item)->editing)
+ && E_TEXT (event->canvas_item)->editing) {
+ GNOME_CANVAS_ITEM_GET_CLASS (event->canvas_item)->event (event->canvas_item, (GdkEvent*)bevent);
return;
+ }
if ((e_cal_util_component_is_instance (event->comp_data->icalcomp) ||
!e_cal_util_component_has_recurrences (event->comp_data->icalcomp))
@@ -3603,6 +3607,9 @@ e_day_view_on_top_canvas_motion (GtkWidget *widget,
gdk_window_set_cursor (widget->window, cursor);
}
+ if (event && E_IS_TEXT (event->canvas_item) && E_TEXT (event->canvas_item)->editing) {
+ GNOME_CANVAS_ITEM_GET_CLASS (event->canvas_item)->event (event->canvas_item, (GdkEvent*)mevent);
+ }
}
return FALSE;
@@ -3707,6 +3714,10 @@ e_day_view_on_main_canvas_motion (GtkWidget *widget,
day_view->last_cursor_set_in_main_canvas = cursor;
gdk_window_set_cursor (widget->window, cursor);
}
+
+ if (event && E_IS_TEXT (event->canvas_item) && E_TEXT (event->canvas_item)->editing) {
+ GNOME_CANVAS_ITEM_GET_CLASS (event->canvas_item)->event (event->canvas_item, (GdkEvent*)mevent);
+ }
}
return FALSE;