diff options
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index aa850a9ac9..61e4d439da 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -51,7 +51,6 @@ #include "cal-util/timeutil.h" #include "calendar-commands.h" #include "goto.h" -#include "e-meeting-edit.h" #include "e-week-view-event-item.h" #include "e-week-view-layout.h" #include "e-week-view-main-item.h" @@ -166,8 +165,6 @@ static void e_week_view_on_delete_appointment (GtkWidget *widget, static void e_week_view_on_cut (GtkWidget *widget, gpointer data); static void e_week_view_on_copy (GtkWidget *widget, gpointer data); static void e_week_view_on_paste (GtkWidget *widget, gpointer data); -static void e_week_view_on_schedule_meet (GtkWidget *widget, - gpointer data); static void e_week_view_on_unrecur_appointment (GtkWidget *widget, gpointer data); @@ -3047,8 +3044,7 @@ static EPopupMenu child_items [] = { e_week_view_on_copy, NULL, MASK_EDITING | MASK_EDITABLE }, { N_("Paste"), NULL, e_week_view_on_paste, NULL, 0 }, - { N_("Schedule Meeting"), NULL, - e_week_view_on_schedule_meet, NULL, MASK_EDITING }, + { "", NULL, NULL, NULL, 0}, { N_("New Appointment..."), NULL, @@ -3284,27 +3280,6 @@ e_week_view_on_paste (GtkWidget *widget, gpointer data) } static void -e_week_view_on_schedule_meet (GtkWidget *widget, gpointer data) -{ - EWeekView *week_view; - EWeekViewEvent *event; - EMeetingEditor *editor; - - week_view = E_WEEK_VIEW (data); - - if (week_view->popup_event_num == -1) - return; - - event = &g_array_index (week_view->events, EWeekViewEvent, - week_view->popup_event_num); - - editor = e_meeting_editor_new (event->comp, week_view->client); - - e_meeting_edit (editor); - e_meeting_editor_free (editor); -} - -static void e_week_view_on_unrecur_appointment (GtkWidget *widget, gpointer data) { EWeekView *week_view; |