aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@src.gnome.org>2004-11-25 22:51:18 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2004-11-25 22:51:18 +0800
commit28009dd47c5a879ec598cc70021ab9e95694f3d9 (patch)
treee25c1d8064ae9271a51b8a5b5ad9daa538bed9c9 /calendar/gui/e-calendar-view.c
parent94cc53a7057dec2a655102268772b73efe32384e (diff)
downloadgsoc2013-evolution-28009dd47c5a879ec598cc70021ab9e95694f3d9.tar
gsoc2013-evolution-28009dd47c5a879ec598cc70021ab9e95694f3d9.tar.gz
gsoc2013-evolution-28009dd47c5a879ec598cc70021ab9e95694f3d9.tar.bz2
gsoc2013-evolution-28009dd47c5a879ec598cc70021ab9e95694f3d9.tar.lz
gsoc2013-evolution-28009dd47c5a879ec598cc70021ab9e95694f3d9.tar.xz
gsoc2013-evolution-28009dd47c5a879ec598cc70021ab9e95694f3d9.tar.zst
gsoc2013-evolution-28009dd47c5a879ec598cc70021ab9e95694f3d9.zip
Evo UI Hackfest : harish
* gui/calendar-component.c: (new_calendar_cb), (edit_calendar_cb): Use modified_setup_edit_calendar call. (popup_event_cb): If source is null (Rt click on a source group), show the new calendar popup menu item. Else, do not show the new calendar option. * gui/dialogs/calendar-setup.[ch] (eccp_get_source_type): Compare the source_groups by their uid and not the pointers, so that the correct option is activated on the combo box. (calendar_setup_edit_calendar) : add a source_group parameter to the function. (calendar_setup_new_calendar): Use modified signature of the above function. * gui/e-calendar-view.c (on_edit_appointment): check the icalcomponent to see if it is a meeting and set the argument to e_calendar_view_edit_appointment correctly. svn path=/trunk/; revision=27991
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index c831711779..c35dbd95fe 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -995,7 +995,8 @@ on_edit_appointment (EPopup *ep, EPopupItem *pitem, void *data)
if (event)
e_calendar_view_edit_appointment (cal_view, event->comp_data->client,
- event->comp_data->icalcomp, FALSE);
+ event->comp_data->icalcomp,
+ icalcomponent_get_first_property(event->comp_data->icalcomp, ICAL_ATTENDEE_PROPERTY));
g_list_free (selected);
}