From 78c72f3ed1da95b1ec432ff9440f6517df2f3e0b Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Wed, 17 Dec 2003 14:13:58 +0000 Subject: removed the 'NewCalendar' verb. (file_new_calendar_cb): removed callback 2003-12-17 Rodrigo Moya * gui/calendar-commands.c: removed the 'NewCalendar' verb. (file_new_calendar_cb): removed callback for 'NewCalendar' verb. (impl__get_userCreatableItems): added 'New Calendar' to the list of user creatable items. (impl_requestCreateItem): implemented 'New Calendar'. * gui/tasks-component.c (impl__get_userCreatableItems): added 'New Task List' to the list of user creatable items. (impl_requestCreateItem): implemented 'New Task List'. svn path=/trunk/; revision=23965 --- calendar/gui/calendar-commands.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'calendar/gui/calendar-commands.c') diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c index 3ed09c3bc7..f509921594 100644 --- a/calendar/gui/calendar-commands.c +++ b/calendar/gui/calendar-commands.c @@ -71,16 +71,6 @@ typedef struct { guint taskpad_focused : 1; } FocusData; -static void -file_new_calendar_cb (BonoboUIComponent *uic, gpointer data, const char *path) -{ - GnomeCalendar *gcal; - - gcal = GNOME_CALENDAR (data); - - new_calendar_dialog (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (gcal)))); -} - /* Prints the calendar at its current view and time range */ static void print (GnomeCalendar *gcal, gboolean preview) @@ -691,7 +681,6 @@ gcal_taskpad_focus_change_cb (GnomeCalendar *gcal, gboolean in, gpointer data) static BonoboUIVerb verbs [] = { - BONOBO_UI_VERB ("NewCalendar", file_new_calendar_cb), BONOBO_UI_VERB ("CalendarPrint", file_print_cb), BONOBO_UI_VERB ("CalendarPrintPreview", file_print_preview_cb), -- cgit