diff options
author | Seth Alves <alves@src.gnome.org> | 2000-04-06 10:30:21 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-04-06 10:30:21 +0800 |
commit | 080049ac37387efd71551bfdb661e15c0e1ce8ce (patch) | |
tree | 2d31aec747ef9cc30a55907b10f02c384285a6bb /calendar/gui/calendar-commands.h | |
parent | a9c9f6c25686e5a9da7f58d01d1bf3810a3d4a28 (diff) | |
download | gsoc2013-evolution-080049ac37387efd71551bfdb661e15c0e1ce8ce.tar.gz gsoc2013-evolution-080049ac37387efd71551bfdb661e15c0e1ce8ce.tar.zst gsoc2013-evolution-080049ac37387efd71551bfdb661e15c0e1ce8ce.zip |
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
Diffstat (limited to 'calendar/gui/calendar-commands.h')
-rw-r--r-- | calendar/gui/calendar-commands.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <bonobo/bonobo-control.h> + /* 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); |