aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-commands.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/calendar-commands.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/calendar-commands.h')
-rw-r--r--calendar/gui/calendar-commands.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/calendar/gui/calendar-commands.h b/calendar/gui/calendar-commands.h
index ab9b4d5d08..62e9d87512 100644
--- a/calendar/gui/calendar-commands.h
+++ b/calendar/gui/calendar-commands.h
@@ -92,8 +92,12 @@ void parse_color_spec (char *spec, int *r, int *g, int *b);
/* Calls build_color_spec() for the color in the specified property number */
char *color_spec_from_prop (ColorProp propnum);
-GnomeCalendar *new_calendar (char *full_name, char *calendar_file,
- char *geometry, char *page, gboolean hidden);
+GnomeCalendar *new_calendar (char *full_name,
+ char *geometry,
+ char *page,
+ gboolean hidden);
+
+void calendar_set_uri (GnomeCalendar *gcal, char *calendar_file);
/*----------------------------------------------------------------------*/
@@ -124,7 +128,7 @@ void calendar_control_deactivate (BonoboControl *control);
void quit_cmd (BonoboUIHandler *uih, void *user_data, const char *path);
-extern char *user_calendar_file;
+/*extern char *user_calendar_file;*/
extern char *user_name;
extern char *full_name;
extern int debug_alarms;