From 0a765ba73162b2d162de1d1fc697c9586491ef00 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 14 Sep 1999 22:40:46 +0000 Subject: [PATCH] Set the data pointers for all the items. 1999-09-14 Federico Mena Quintero * gncal-full-day.c (child_popup_menu): Set the data pointers for all the items. svn path=/trunk/; revision=1227 --- calendar/ChangeLog | 5 +++++ calendar/gncal-full-day.c | 3 ++- calendar/gui/gncal-full-day.c | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 7fe198fe82..565d4c356a 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +1999-09-14 Federico Mena Quintero + + * gncal-full-day.c (child_popup_menu): Set the data pointers for + all the items. + 1999-09-14 Kjartan Maraas * doc/C/gnomecal.sgml: Merge from gnome-pim-1-0. Synced with newest diff --git a/calendar/gncal-full-day.c b/calendar/gncal-full-day.c index 596b827d00..c07d9a5710 100644 --- a/calendar/gncal-full-day.c +++ b/calendar/gncal-full-day.c @@ -511,8 +511,9 @@ child_popup_menu (GncalFullDay *fullday, Child *child, GdkEventButton *event) context_menu = &recur_child_items[0]; context_menu[2].data = child; context_menu[3].data = child; - context_menu[4].data = fullday; context_menu[3].sensitive = sensitive; + context_menu[4].data = fullday; + context_menu[5].data = fullday; } else { items = 4; context_menu = &child_items[0]; diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c index 596b827d00..c07d9a5710 100644 --- a/calendar/gui/gncal-full-day.c +++ b/calendar/gui/gncal-full-day.c @@ -511,8 +511,9 @@ child_popup_menu (GncalFullDay *fullday, Child *child, GdkEventButton *event) context_menu = &recur_child_items[0]; context_menu[2].data = child; context_menu[3].data = child; - context_menu[4].data = fullday; context_menu[3].sensitive = sensitive; + context_menu[4].data = fullday; + context_menu[5].data = fullday; } else { items = 4; context_menu = &child_items[0];