diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-12-17 22:13:58 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-12-17 22:13:58 +0800 |
commit | 78c72f3ed1da95b1ec432ff9440f6517df2f3e0b (patch) | |
tree | 9d29e366011309cd02952256b0b31baa45925b68 /calendar/gui/calendar-commands.c | |
parent | 5b83b0929b296bf2b3b8909b33d554a70e888b35 (diff) | |
download | gsoc2013-evolution-78c72f3ed1da95b1ec432ff9440f6517df2f3e0b.tar.gz gsoc2013-evolution-78c72f3ed1da95b1ec432ff9440f6517df2f3e0b.tar.zst gsoc2013-evolution-78c72f3ed1da95b1ec432ff9440f6517df2f3e0b.zip |
removed the 'NewCalendar' verb. (file_new_calendar_cb): removed callback
2003-12-17 Rodrigo Moya <rodrigo@ximian.com>
* 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
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r-- | calendar/gui/calendar-commands.c | 11 |
1 files changed, 0 insertions, 11 deletions
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), |