aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-04-24 13:22:42 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-04-24 13:22:42 +0800
commit11be06c763d9a9f4d699a7d95a0aff66af6328a2 (patch)
treee750881e65d3dab275590ecc0483d735d1f491ce /calendar/gui/gnome-cal.h
parent6dc8c1aabd4f9e7a5b785d97a5e6cad3d66d604b (diff)
downloadgsoc2013-evolution-11be06c763d9a9f4d699a7d95a0aff66af6328a2.tar.gz
gsoc2013-evolution-11be06c763d9a9f4d699a7d95a0aff66af6328a2.tar.zst
gsoc2013-evolution-11be06c763d9a9f4d699a7d95a0aff66af6328a2.zip
free the view popup (e_week_view_show_popup_menu): add the view popup to
2002-04-24 JP Rosevear <jpr@ximian.com> * 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
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r--calendar/gui/gnome-cal.h4
1 files changed, 4 insertions, 0 deletions
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 <libgnome/gnome-defs.h>
#include <gtk/gtkvbox.h>
#include <bonobo/bonobo-ui-component.h>
+#include <gal/widgets/e-popup-menu.h>
#include <widgets/misc/e-calendar.h>
#include <cal-client/cal-client.h>
@@ -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);