diff options
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/e-day-view.c | 8 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 3 |
3 files changed, 15 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 39c18eb533..af2e04617f 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2005-07-29 Chenthill Palanisamy <pchenthill@novell.com> + + + * gui/e-day-view.c: (e_day_view_update_event_label), + (e_day_view_update_long_event_label): + * gui/e-week-view.c: (e_week_view_reshape_event_span): + Commenting the code for marking the summary of unaccepted + meetings as bold, since pango crashes for some meetings. + 2005-07-27 Mengjie Yu <meng-jie.yu@sun.com> * gui/e-cal-model-calendar.c: diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 0cfcab019c..7c65d84d45 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1880,9 +1880,9 @@ e_day_view_update_event_label (EDayView *day_view, "text", text, NULL); - if (e_cal_get_static_capability (event->comp_data->client, CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING) +/* if (e_cal_get_static_capability (event->comp_data->client, CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING) && e_cal_util_component_has_attendee (event->comp_data->icalcomp)) - set_text_as_bold (event); + set_text_as_bold (event); */ if (free_text) g_free (text); @@ -1908,9 +1908,9 @@ e_day_view_update_long_event_label (EDayView *day_view, "text", summary ? summary : "", NULL); - if (e_cal_get_static_capability (event->comp_data->client, CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING) +/* if (e_cal_get_static_capability (event->comp_data->client, CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING) && e_cal_util_component_has_attendee (event->comp_data->icalcomp)) - set_text_as_bold (event); + set_text_as_bold (event); */ } diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 6c3157da5e..d15e722e6a 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -2668,10 +2668,11 @@ e_week_view_reshape_event_span (EWeekView *week_view, "im_context", E_CANVAS (week_view->main_canvas)->im_context, NULL); +/* Uncomment once the pango fix is in if (e_cal_get_static_capability (event->comp_data->client, CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING) && e_cal_util_component_has_attendee (event->comp_data->icalcomp)) { set_text_as_bold (event, span); - } + } */ g_signal_connect (span->text_item, "event", G_CALLBACK (e_week_view_on_text_item_event), |