diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2005-03-14 13:12:09 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-03-14 13:12:09 +0800 |
commit | 455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294 (patch) | |
tree | 4ee98c2e5f88058abed2556e2574b7c5d5c2618b | |
parent | 536f97fe1aa93b2fb2f3e43a329ac037a42f45a1 (diff) | |
download | gsoc2013-evolution-455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294.tar gsoc2013-evolution-455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294.tar.gz gsoc2013-evolution-455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294.tar.bz2 gsoc2013-evolution-455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294.tar.lz gsoc2013-evolution-455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294.tar.xz gsoc2013-evolution-455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294.tar.zst gsoc2013-evolution-455c6c30f744af5f5ddeeddc8dce8a0e3f6ce294.zip |
Fixes #72979 Check whether its a meeting and send appropriate boolean
2005-03-14 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #72979
* gui/e-cal-list-view.c (find_meeting),
(e_cal_list_view_on_table_double_click): Check whether its a
meeting and send appropriate boolean variable.
svn path=/trunk/; revision=29006
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-cal-list-view.c | 15 |
2 files changed, 20 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 9eb77e13cb..13acff2790 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2005-03-14 Chenthill Palanisamy <pchenthill@novell.com> + + Fixes #72979 + * gui/e-cal-list-view.c (find_meeting), + (e_cal_list_view_on_table_double_click): Check whether its a + meeting and send appropriate boolean variable. + 2005-03-11 Sushma Rai <rsushma@novell.com> * gui/dialogs/event-page.c (event_page_show_options): Removed the check diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c index d17f26889c..059d762c90 100644 --- a/calendar/gui/e-cal-list-view.c +++ b/calendar/gui/e-cal-list-view.c @@ -379,16 +379,27 @@ e_cal_list_view_popup_menu (GtkWidget *widget) return TRUE; } +static gboolean +find_meeting (icalcomponent *icalcomp) +{ + icalproperty *prop = NULL; + + prop = icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY); + + return prop ? TRUE: FALSE; +} + + static gboolean e_cal_list_view_on_table_double_click (GtkWidget *table, gint row, gint col, GdkEvent *event, gpointer data) { ECalListView *cal_list_view = E_CAL_LIST_VIEW (data); ECalModelComponent *comp_data; - + comp_data = e_cal_model_get_component_at (e_calendar_view_get_model (E_CALENDAR_VIEW (cal_list_view)), row); e_calendar_view_edit_appointment (E_CALENDAR_VIEW (cal_list_view), comp_data->client, - comp_data->icalcomp, FALSE); + comp_data->icalcomp, find_meeting (comp_data->icalcomp)); return TRUE; } |