aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-component.c15
2 files changed, 7 insertions, 13 deletions
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 <pchenthill@novell.com>
+
+ * gui/calendar-component.c: (popup_event_cb): Popup all the
+ menu items when clicked on the source.
+
2005-03-21 Chenthill Palanisamy <pchenthill@novell.com>
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<sizeof(ecc_source_popups)/sizeof(ecc_source_popups[0]);i++)
- menus = g_slist_prepend(menus, &ecc_source_popups[i]);
- }
+ for (i=0;i<sizeof(ecc_source_popups)/sizeof(ecc_source_popups[0]);i++)
+ menus = g_slist_prepend(menus, &ecc_source_popups[i]);
e_popup_add_items((EPopup *)ep, menus, NULL, ecc_source_popup_free, component_view);