aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gnome-cal.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-18 12:22:57 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-18 12:22:57 +0800
commitd4f4dc26fcc04d8020812444763a38049a04beff (patch)
tree0b2f43ed018b15e32abb9fe53b87a68c36e070ae /calendar/gnome-cal.c
parentf1b08663ddff6432289ca4780bc823c96d471657 (diff)
downloadgsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.gz
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.tar.zst
gsoc2013-evolution-d4f4dc26fcc04d8020812444763a38049a04beff.zip
Usability fixes -mig
svn path=/trunk/; revision=156
Diffstat (limited to 'calendar/gnome-cal.c')
-rw-r--r--calendar/gnome-cal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c
index b851b65d44..434af707bc 100644
--- a/calendar/gnome-cal.c
+++ b/calendar/gnome-cal.c
@@ -137,8 +137,6 @@ gnome_calendar_init(GnomeCalendar *gcal)
gcal->week_view = 0;
gcal->year_view = 0;
gcal->event_editor = 0;
-
- setup_widgets (gcal);
}
static GtkWidget *
@@ -222,6 +220,7 @@ gnome_calendar_new (char *title)
gcal->current_display = time (NULL);
gcal->cal = calendar_new (title);
+ setup_widgets (gcal);
return retval;
}
@@ -233,16 +232,17 @@ gnome_calendar_update_all (GnomeCalendar *cal, iCalObject *object, int flags)
gncal_year_view_update (GNCAL_YEAR_VIEW (cal->year_view), object, flags);
}
-void
+int
gnome_calendar_load (GnomeCalendar *gcal, char *file)
{
char *r;
if ((r = calendar_load (gcal->cal, file)) != NULL){
printf ("Error loading calendar: %s\n", r);
- return;
+ return 0;
}
gnome_calendar_update_all (gcal, NULL, 0);
+ return 1;
}
void
/freebsd-ports-gnome/commit/x11-wm/qvwm?h=gnome-3.24&id=c23d5b398c1549792bc164eb723af0cb410ffcb8'>- Add MASTER_SITESgarga2006-04-013-47/+47 * Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.ade2006-03-071-1/+1 * - Add SHA256pav2005-11-261-0/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * SIZEify.trevor2004-01-301-0/+1 * Reset maintainer on ports owned by the following committers who havekris2003-11-031-1/+1 * Remove USE_GNOMENG.marcus2003-04-211-1/+0 * Clear moonlight beckons.ade2003-03-072-1/+1 * Fix build on -current (machine/soundcard.h -> sys/soundcard.h)kris2002-09-081-0/+11 * Deploy USE_GNOMENG infrastructurelioux2002-09-021-2/+2 * Update to 1.1.12nakai2002-07-26