From 11be06c763d9a9f4d699a7d95a0aff66af6328a2 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 24 Apr 2002 05:22:42 +0000 Subject: free the view popup (e_week_view_show_popup_menu): add the view popup to 2002-04-24 JP Rosevear * gui/e-week-view.c (free_view_popup): free the view popup (e_week_view_show_popup_menu): add the view popup to the "main_item" menu and listen for destruction * gui/e-day-view.c (free_view_popup): as above (e_day_view_on_event_right_click): as above * gui/e-week-view.h: add class member * gui/e-day-view.h: add a class member * gui/gnome-cal.h: new protos * gui/gnome-cal.c (set_view): set the instance view id properly when switching views (gnome_calendar_setup_view_popup): generate a view popup (gnome_calendar_discard_view_popup): destroy a view popup svn path=/trunk/; revision=16572 --- calendar/gui/gnome-cal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'calendar/gui/gnome-cal.h') diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h index 8a888420dc..ebad45c99f 100644 --- a/calendar/gui/gnome-cal.h +++ b/calendar/gui/gnome-cal.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -111,6 +112,9 @@ void gnome_calendar_set_view (GnomeCalendar *gcal, GnomeCalendarViewType view_ty void gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic); void gnome_calendar_discard_view_menus (GnomeCalendar *gcal); +EPopupMenu *gnome_calendar_setup_view_popup (GnomeCalendar *gcal); +void gnome_calendar_discard_view_popup (GnomeCalendar *gcal, EPopupMenu *popup); + void gnome_calendar_set_selected_time_range (GnomeCalendar *gcal, time_t start_time, time_t end_time); -- cgit