diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-07-24 16:34:40 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-07-24 16:34:40 +0800 |
commit | 2653c31d732e47e6fe3d365eb5cbcbaa76f0237f (patch) | |
tree | 9f71558c6b17e2b5af1b7e438ded742533fb5243 /calendar/gui/e-day-view.c | |
parent | a53017cbb5407aba93c0270001069cfef3fa5074 (diff) | |
download | gsoc2013-evolution-2653c31d732e47e6fe3d365eb5cbcbaa76f0237f.tar.gz gsoc2013-evolution-2653c31d732e47e6fe3d365eb5cbcbaa76f0237f.tar.zst gsoc2013-evolution-2653c31d732e47e6fe3d365eb5cbcbaa76f0237f.zip |
Cairo fixes by rajeev
svn path=/trunk/; revision=32397
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 3740b2c7b2..18e4e25454 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1797,14 +1797,14 @@ e_day_view_update_event_label (EDayView *day_view, } } } else { - if (day_view->show_event_end_times && offset != 0) { + if (day_view->show_event_end_times && show_span) { /* 12 hour format with end time. */ text = g_strdup_printf ("%2i:%02i%s-%2i:%02i%s %s %s", start_display_hour, start_minute, start_suffix, - end_display_hour, end_minute, mode, - end_suffix, + end_display_hour, end_minute, end_suffix, + mode, text); } else { /* 12 hour format without end time. */ @@ -5771,9 +5771,6 @@ e_day_view_on_text_item_event (GnomeCanvasItem *item, ECalendarViewPosition pos; gboolean main_canvas = TRUE; - if (day_view->editing_event_num != -1) - return FALSE; - /* Convert the coords to the main canvas window, or return if the window is not found. */ if (!e_day_view_convert_event_coords (day_view, (GdkEvent*) event, @@ -5804,9 +5801,6 @@ e_day_view_on_text_item_event (GnomeCanvasItem *item, if (pos == E_CALENDAR_VIEW_POS_OUTSIDE) return FALSE; - if (day_view->resize_event_num == event_num) - return FALSE; - pevent = tooltip_get_view_event (day_view, day, event_num); g_object_set_data (G_OBJECT (item), "event-num", GINT_TO_POINTER (event_num)); g_object_set_data (G_OBJECT (item), "event-day", GINT_TO_POINTER (day)); |