aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-12-22 19:20:09 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-12-22 19:20:09 +0800
commit6d08449cfd5758b27c7e54ca3a9c322d4e8e320c (patch)
treea7d3a5563eda3d6d0c1410ba4fcd5492aa7caa06 /calendar/gui/e-calendar-view.c
parente00b07975e2ea8d73cdf119a21b4c8ce97cb0f1a (diff)
downloadgsoc2013-evolution-6d08449cfd5758b27c7e54ca3a9c322d4e8e320c.tar.gz
gsoc2013-evolution-6d08449cfd5758b27c7e54ca3a9c322d4e8e320c.tar.zst
gsoc2013-evolution-6d08449cfd5758b27c7e54ca3a9c322d4e8e320c.zip
** Fix for bug #559604
2008-12-22 Milan Crha <mcrha@redhat.com> ** Fix for bug #559604 * gui/e-calendar-view.h: (e_calendar_view_get_attendees_status_info): * gui/e-calendar-view.c: (e_calendar_view_get_attendees_status_info), (e_calendar_view_get_tooltips): * gui/e-calendar-table.c: (query_tooltip_cb): Show additional status information for the meeting only when user is an organizer. svn path=/trunk/; revision=36926
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index aee65cae19..0dc5a7eab3 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -2213,7 +2213,7 @@ e_calendar_view_move_tip (GtkWidget *widget, int x, int y)
* Free returned pointer with g_free.
**/
char *
-e_calendar_view_get_attendees_status_info (ECalComponent *comp)
+e_calendar_view_get_attendees_status_info (ECalComponent *comp, ECal *client)
{
struct _values {
icalparameter_partstat status;
@@ -2234,7 +2234,7 @@ e_calendar_view_get_attendees_status_info (ECalComponent *comp)
char *res = NULL;
int i;
- if (!comp || !e_cal_component_has_attendees (comp))
+ if (!comp || !e_cal_component_has_attendees (comp) || !itip_organizer_is_user (comp, client))
return NULL;
e_cal_component_get_attendee_list (comp, &attendees);
@@ -2430,7 +2430,7 @@ e_calendar_view_get_tooltips (ECalendarViewEventData *data)
g_free (tmp2);
g_free (tmp1);
- tmp = e_calendar_view_get_attendees_status_info (newcomp);
+ tmp = e_calendar_view_get_attendees_status_info (newcomp, pevent->comp_data->client);
if (tmp) {
hbox = gtk_hbox_new (FALSE, 0);
gtk_box_pack_start ((GtkBox *)hbox, gtk_label_new (tmp), FALSE, FALSE, 0);