diff options
author | JP Rosevear <jpr@ximian.com> | 2002-04-24 13:22:42 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-04-24 13:22:42 +0800 |
commit | 11be06c763d9a9f4d699a7d95a0aff66af6328a2 (patch) | |
tree | e750881e65d3dab275590ecc0483d735d1f491ce /calendar/gui/e-week-view.h | |
parent | 6dc8c1aabd4f9e7a5b785d97a5e6cad3d66d604b (diff) | |
download | gsoc2013-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-week-view.h')
-rw-r--r-- | calendar/gui/e-week-view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h index ed14796414..689874cc25 100644 --- a/calendar/gui/e-week-view.h +++ b/calendar/gui/e-week-view.h @@ -26,6 +26,7 @@ #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" @@ -347,6 +348,7 @@ struct _EWeekView /* The event that the context menu is for. */ gint popup_event_num; + EPopupMenu *view_menu; /* The last mouse position when dragging, in the entire canvas. */ gint drag_event_x; |