aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.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/e-day-view.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/e-day-view.h')
-rw-r--r--calendar/gui/e-day-view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h
index 1c72a3a78b..25f9181218 100644
--- a/calendar/gui/e-day-view.h
+++ b/calendar/gui/e-day-view.h
@@ -27,6 +27,7 @@
#include <time.h>
#include <gtk/gtktable.h>
#include <libgnomeui/gnome-canvas.h>
+#include <gal/widgets/e-popup-menu.h>
#include "gnome-cal.h"
#include "evolution-activity-client.h"
@@ -408,7 +409,8 @@ struct _EDayView
/* The event for which a popup menu is being displayed, as above. */
gint popup_event_day;
gint popup_event_num;
-
+ EPopupMenu *view_menu;
+
/* The currently selected region. If selection_start_day is -1 there is
no current selection. If start_row or end_row is -1 then the
selection is in the top canvas. */