From 080049ac37387efd71551bfdb661e15c0e1ce8ce Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Thu, 6 Apr 2000 02:30:21 +0000 Subject: removed (setup_appbar): removed (calendar_control_activate): new function * gui/calendar-commands.c (setup_menu): removed (setup_appbar): removed (calendar_control_activate): new function -- does the work that setup_appbar and setup_menu used to do. (calendar_control_deactivate): undoes what calendar_control_activate does by removing the toolbar items and menu items. svn path=/trunk/; revision=2299 --- calendar/gui/calendar-commands.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'calendar/gui/calendar-commands.h') diff --git a/calendar/gui/calendar-commands.h b/calendar/gui/calendar-commands.h index 2f6c25f04c..26df3882e6 100644 --- a/calendar/gui/calendar-commands.h +++ b/calendar/gui/calendar-commands.h @@ -1,6 +1,8 @@ #ifndef CALENDAR_COMMANDS_H #define CALENDAR_COMMANDS_H +#include + /* This enum and the following array define the color preferences */ typedef enum { @@ -116,7 +118,8 @@ calendar_iterate (GnomeCalendar *cal, void init_calendar (void); - +void calendar_control_activate (BonoboControl *control, BonoboUIHandler *uih); +void calendar_control_deactivate (BonoboControl *control, BonoboUIHandler *uih); void close_cmd (GtkWidget *widget, GnomeCalendar *gcal); void quit_cmd (void); -- cgit