aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-commands.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-11-19 01:09:57 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-11-19 01:09:57 +0800
commit57fbfaa43469a1fbe60b63e12f013c859c7f7748 (patch)
tree39e37de3f68efafeec2fb47bf42cd2fae5aaa5d8 /calendar/gui/calendar-commands.c
parent0a180cd281b24884587a1ddf065bdf475ab9659b (diff)
downloadgsoc2013-evolution-57fbfaa43469a1fbe60b63e12f013c859c7f7748.tar.gz
gsoc2013-evolution-57fbfaa43469a1fbe60b63e12f013c859c7f7748.tar.zst
gsoc2013-evolution-57fbfaa43469a1fbe60b63e12f013c859c7f7748.zip
removed the 'New...' menu items from the UI, it's now implemented in the
2003-11-18 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-commands.c (calendar_control_sensitize_calendar_commands, sensitize_taskpad_commands): removed the 'New...' menu items from the UI, it's now implemented in the shell. svn path=/trunk/; revision=23422
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r--calendar/gui/calendar-commands.c52
1 files changed, 0 insertions, 52 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c
index b0fe09456d..e5a66df378 100644
--- a/calendar/gui/calendar-commands.c
+++ b/calendar/gui/calendar-commands.c
@@ -81,58 +81,6 @@ file_new_calendar_cb (BonoboUIComponent *uic, gpointer data, const char *path)
new_calendar_dialog (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (gcal))));
}
-static void
-file_new_appointment_cb (BonoboUIComponent *uic, gpointer data, const char *path)
-{
- GnomeCalendar *gcal;
- time_t dtstart, dtend;
- ECalendarView *cal_view;
-
- gcal = GNOME_CALENDAR (data);
-
- cal_view = (ECalendarView *) gnome_calendar_get_current_view_widget (gcal);
- e_calendar_view_get_selected_time_range (cal_view, &dtstart, &dtend);
- e_calendar_view_new_appointment_for (cal_view, dtstart, dtend, FALSE, FALSE);
-}
-
-static void
-file_new_event_cb (BonoboUIComponent *uic, gpointer data, const char *path)
-{
- GnomeCalendar *gcal;
- time_t dtstart, dtend;
- ECalendarView *cal_view;
-
- gcal = GNOME_CALENDAR (data);
-
- cal_view = (ECalendarView *) gnome_calendar_get_current_view_widget (gcal);
- e_calendar_view_get_selected_time_range (cal_view, &dtstart, &dtend);
- e_calendar_view_new_appointment_for (cal_view, dtstart, dtend, TRUE, FALSE);
-}
-
-static void
-file_new_meeting_cb (BonoboUIComponent *uic, gpointer data, const char *path)
-{
- GnomeCalendar *gcal;
- time_t dtstart, dtend;
- ECalendarView *cal_view;
-
- gcal = GNOME_CALENDAR (data);
-
- cal_view = (ECalendarView *) gnome_calendar_get_current_view_widget (gcal);
- e_calendar_view_get_selected_time_range (cal_view, &dtstart, &dtend);
- e_calendar_view_new_appointment_for (cal_view, dtstart, dtend, FALSE, TRUE);
-}
-
-static void
-file_new_task_cb (BonoboUIComponent *uic, gpointer data, const char *path)
-{
- GnomeCalendar *gcal;
-
- gcal = GNOME_CALENDAR (data);
-
- gnome_calendar_new_task (gcal);
-}
-
/* Prints the calendar at its current view and time range */
static void
print (GnomeCalendar *gcal, gboolean preview)