aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.h
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-19 21:39:43 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-19 21:39:43 +0800
commit528fe3b08ead2edcf246a49fdd0089ace5a83cc0 (patch)
tree10bfd24ad7c3a6474c627db40bea078ccdac144c /calendar/gui/gnome-cal.h
parentf3a84bec06a82e86b7903d01e13589d0fcf4a2bc (diff)
downloadgsoc2013-evolution-528fe3b08ead2edcf246a49fdd0089ace5a83cc0.tar.gz
gsoc2013-evolution-528fe3b08ead2edcf246a49fdd0089ace5a83cc0.tar.zst
gsoc2013-evolution-528fe3b08ead2edcf246a49fdd0089ace5a83cc0.zip
set calendar's uri with a property bag
* e-shell-view.c (get_view): set calendar's uri with a property bag * gui/evolution-calendar-control.c (calendar_properties_init): create a property bag for this control (set_prop): callback for property sets (get_prop): callback for proprety gets * gui/calendar-commands.c (calendar_set_uri): new function, called when the "calendar_uri" property is set on the calendar- control's property bag. svn path=/trunk/; revision=2501
Diffstat (limited to 'calendar/gui/gnome-cal.h')
-rw-r--r--calendar/gui/gnome-cal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/gnome-cal.h b/calendar/gui/gnome-cal.h
index fec7b95bb5..6437977d6b 100644
--- a/calendar/gui/gnome-cal.h
+++ b/calendar/gui/gnome-cal.h
@@ -14,6 +14,7 @@
#include <gtk/gtkcalendar.h>
#include <libgnomeui/gnome-app.h>
#include <cal-client/cal-client.h>
+#include <bonobo.h>
BEGIN_GNOME_DECLS
@@ -28,6 +29,9 @@ typedef struct {
CalClient *client;
time_t current_display;
+ BonoboPropertyBag *properties;
+ BonoboControl *control;
+
GtkWidget *notebook;
GtkWidget *day_view;
GtkWidget *week_view;