From 2aff6123641900ebd65a622d77deadbbb9a92f6c Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Tue, 22 Mar 2005 15:09:10 +0000 Subject: Popup all the menu items when clicked on the source. 2005-03-22 Chenthill Palanisamy * gui/calendar-component.c: (popup_event_cb): Popup all the menu items when clicked on the source. svn path=/trunk/; revision=29090 --- calendar/ChangeLog | 5 +++++ calendar/gui/calendar-component.c | 15 ++------------- 2 files changed, 7 insertions(+), 13 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 27c26ad21e..9bce867653 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2005-03-22 Chenthill Palanisamy + + * gui/calendar-component.c: (popup_event_cb): Popup all the + menu items when clicked on the source. + 2005-03-21 Chenthill Palanisamy Fixes #73031 diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 55c4200115..63cb4859e5 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -564,19 +564,8 @@ popup_event_cb(ESourceSelector *selector, ESource *insource, GdkEventButton *eve t = e_cal_popup_target_new_source(ep, selector); t->target.widget = (GtkWidget *)component_view->calendar; - if (!insource) { - - ESourceGroup *group; - - group = e_source_selector_get_primary_source_group (selector); - g_object_ref (group); - ecc_source_popups [0].user_data = group; - menus = g_slist_prepend (menus, &ecc_source_popups [0]); - } - else { - for (i=1;i