aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/gnome-cal.c34
1 files changed, 23 insertions, 11 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index f7a6eb5ac4..db46b113ee 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -412,8 +412,8 @@ gnome_calendar_object_updated_cb (GtkWidget *cal_client,
const char *uid,
GnomeCalendar *gcal)
{
- printf ("gnome-cal: got object changed_cb, uid='%s'\n",
- uid?uid:"<NULL>");
+ g_message ("gnome-cal: got object changed_cb, uid='%s'",
+ uid?uid:"<NULL>");
/* FIXME: do we really want each view to reload the event itself?
Maybe we should keep track of events globally, maybe with ref
@@ -438,8 +438,8 @@ gnome_calendar_object_removed_cb (GtkWidget *cal_client,
const char *uid,
GnomeCalendar *gcal)
{
- printf ("gnome-cal: got object removed _cb, uid='%s'\n",
- uid?uid:"<NULL>");
+ g_message ("gnome-cal: got object removed _cb, uid='%s'",
+ uid?uid:"<NULL>");
e_day_view_remove_event (E_DAY_VIEW (gcal->day_view), uid);
e_day_view_remove_event (E_DAY_VIEW (gcal->work_week_view), uid);
@@ -493,21 +493,22 @@ typedef struct
static void
gnome_calendar_load_cb (GtkWidget *cal_client,
- CalClientLoadStatus success,
+ CalClientLoadStatus status,
load_or_create_data *locd)
{
g_return_if_fail (locd);
g_return_if_fail (GNOME_IS_CALENDAR (locd->gcal));
- switch (success) {
+ switch (status) {
case CAL_CLIENT_LOAD_SUCCESS:
gnome_calendar_update_all (locd->gcal, NULL, 0);
- printf ("gnome_calendar_load_cb: success\n");
+ g_message ("gnome_calendar_load_cb: success");
break;
+
case CAL_CLIENT_LOAD_ERROR:
- printf ("gnome_calendar_load_cb: load error.\n");
+ g_message ("gnome_calendar_load_cb: load error");
if (locd->gcom == CALENDAR_OPEN_OR_CREATE) {
- printf ("gnome_calendar_load_cb: trying create...\n");
+ g_message ("gnome_calendar_load_cb: trying create...");
/* FIXME: connect to the cal_loaded signal of the
* CalClient and get theasynchronous notification
* properly! */
@@ -523,9 +524,20 @@ gnome_calendar_load_cb (GtkWidget *cal_client,
gnome_calendar_update_all (locd->gcal, NULL, 0);
}
break;
+
case CAL_CLIENT_LOAD_IN_USE:
- printf ("gnome_calendar_load_cb: in use\n");
+ /* FIXME: what to do? */
+ g_message ("gnome_calendar_load_cb: in use");
+ break;
+
+ case CAL_CLIENT_LOAD_METHOD_NOT_SUPPORTED:
+ /* FIXME: what to do? */
+ g_message ("gnome_calendar_load_cb(): method not supported");
break;
+
+ default:
+ g_message ("gnome_calendar_load_cb(): unhandled result code %d!", (int) status);
+ g_assert_not_reached ();
}
g_free (locd->uri);
@@ -555,7 +567,7 @@ gnome_calendar_open (GnomeCalendar *gcal,
locd);
if (cal_client_load_calendar (gcal->client, file) == FALSE){
- printf ("Error loading calendar: %s\n", file);
+ g_message ("Error loading calendar: %s", file);
return 0;
}
5-071-4/+4 * Make fetchable again.cy2016-04-291-3/+1 * Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-011-1/+1 * Update to 5.0.5.jkim2016-02-161-4/+4 * vietnamese/vnless: USES+= ncurses, link with libncurses (not termcap)marino2016-02-061-0/+2 * vietname/urvwn: Remove unnecessary <pre>/<post> inclusionsmarino2016-01-231-3/+2 * vietnames/vietunicode-*: Unbreak indexmarino2016-01-173-3/+3 * vietnamese/vietunicode-*: Fix options (3 ports)marino2016-01-173-9/+6 * Update to 5.0.4.jkim2015-12-181-4/+4 * Mark a few ports BROKEN: unfetchableantoine2015-11-091-0/+2 * Fix ports that confused the meaning of WRKDIR and WRKSRC.mat2015-11-051-4/+4 * Update to 5.0.3.jkim2015-11-041-4/+4 * - Switch to options helpersamdmi32015-10-151-0/+2 * Update to 5.0.2.jkim2015-09-242-6/+6 * Update LibreOffice to 5.0.1.jkim2015-09-021-4/+4 * vietnamese/libviet is not jobs safemarino2015-08-231-0/+2 * - Add NO_ARCHsunpoet2015-07-181-0/+1 * Reset maintainership for obrienerwin2015-06-138-8/+8 * MASTER_SITES cleanup.mat2015-05-145-10/+5 * Update to 4.3.7.jkim2015-04-261-4/+4 * Make fonts repecting XDGbapt2015-03-224-34/+6 * - Update to 4.3.6.jkim2015-02-211-4/+4 * cleanup plistbapt2014-12-211-1/+0 * Update to 4.3.5.jkim2014-12-191-4/+4 * Remove expired ports:rene2014-11-295-107/+0 * Update to 4.3.4.jkim2014-11-271-4/+4 * Cleanup plistantoine2014-11-124-6/+0 * vietnamese/vnless: this port is not jobs safemarino2014-11-051-0/+2 * Update to 4.3.3.jkim2014-11-011-4/+4 * Deprecate ports broken for more than 6 monthsantoine2014-10-261-0/+2 * KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!makc2014-10-192-3/+4 * Update to 4.3.2.jkim2014-10-172-5/+4 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-112-1/+2 * Remove non staged ports without pending PR from textproc and vietnamesebapt2014-09-0223-923/+0 * Mark BROKEN: Fails to installantoine2014-08-311-0/+2 * Upgrade OpenEXR and ilmbase to 2.2.0.mandree2014-08-161-0/+1 * - Fix build with clang (functions not returing value)pawel2014-08-087-20/+20 * Add staging supportpawel2014-08-071-5/+2 * Add staging supportpawel2014-08-071-5/+2 * Add staging supportpawel2014-08-071-5/+2 * Add staging supportpawel2014-08-071-5/+2 * Remove indefinite articles and trailing periods from COMMENT, plusolgeni2014-08-032-2/+2 * Convert some more USE_BZIP2 to USES=tar:bzip2adamw2014-07-301-1/+1 * Rename vietnamese/ patch-xy patches to reflect the files they modify.adamw2014-07-296-0/+0 * vietnamese/libviet: Fix last commitmarino2014-07-291-1/+1 * vietnamese/libviet: respect CC/CFLAGSmarino2014-07-281-0/+2 * vietnamese/vnroff: integrate pkg-plist and cleanup makefilemarino2014-07-282-8/+8 * - Add LICENSEsunpoet2014-07-171-0/+2 * 1: remove NO_STAGE.vanilla2014-07-161-2/+1 * Resetting maintainership on ports that have not been staged and without anybapt2014-07-035-5/+5 * Stagify.vanilla2014-07-024-22/+32 * Update to 4.2.5.jkim2014-06-241-4/+4 * Update to libreoffice 4.2.4bapt2014-06-111-4/+4 * vietnamese/vis2u: Fix EXTRACT_AFTER_ARGSmarino2014-06-011-2/+1 * vietnamese/unicode-uhoai: Fix deinstall and add stage supportmarino2014-05-313-10/+19 * KDE/FreeBSD team presents KDE SC 4.12.5 and KDE Workspace 4.11.9!makc2014-05-111-2/+2 * Update to 4.1.6.jkim2014-05-071-4/+4 * Mark broken: Conflicts with dependency vnpstext on share/vn-fonts/initcour.psantoine2014-04-061-0/+2 * KDE/FreeBSD team presents KDE SC 4.12.4 and KDE Workspace 4.11.8!makc2014-04-031-2/+2 * Support stagingehaupt2014-03-172-10/+12 * Stagify, generally cleanup Makefile, provide more useful port description.danfe2014-03-162-17/+23 * Support stagingehaupt2014-03-132-6/+5 * Unbreakantoine2014-03-121-1/+1 * Unbreakantoine2014-03-121-1/+1 * Convert u* and v* to USES=zipbapt2014-03-117-7/+7 * KDE/FreeBSD team presents KDE SC 4.12.3 and KDE Workspace 4.11.7!makc2014-03-051-2/+2 * Support stagingehaupt2014-02-271-4/+2 * - Stage supportmiwi2014-02-263-7/+6 * Update to 4.1.5. It is partially based on the following PR.jkim2014-02-261-4/+4 * KDE/FreeBSD team presents KDE SC 4.12.2 and KDE Workspace 4.11.6!makc2014-02-183-6/+23 * Fix properties on pkg-plistbapt2014-01-2210-10/+0 * Support stagebapt2014-01-203-7/+5 * - Use single space after WWW:sunpoet2013-11-181-1/+1 * Support stage, use bsdtar to extractbapt2013-11-041-4/+3 * Stagifybapt2013-11-041-1/+0 * - Update to 4.0.6.jkim2013-10-262-5/+4 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-2121-110/+39 * Update to 4.0.5.jkim2013-08-231-4/+4 * KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-275-369/+0 * Fix INDEX by really fixing the kde4-l10n portsbapt2013-07-101-0/+1 * KDE4 l10n fixes.rakuco2013-07-101-2/+1 * Update the KDE Software Compilation to 4.10.5.rakuco2013-07-051-2/+2 * Update to KDE SC 4.10.4, proudly presented by the KDE on FreeBSD team.rakuco2013-07-031-2/+2 * Update to 4.0.4.jkim2013-06-201-4/+4 * - Fix ttfm's xttfm module to really update fonts.{dir,scale} to reflectrafan2013-06-204-4/+4 * Fix build with clangbapt2013-05-271-2/+11 * KDE/FreeBSD team presents KDE SC 4.10.3 ports!makc2013-05-192-4/+2 * Rectify USE_TEX to support both of teTeX and TeXLive.hrs2013-05-121-1/+1 * Update to 4.0.3.jkim2013-05-101-4/+4 * Remove *_DEPENDS from ports which depend on teTeX and add USE_TEX=tetexhrs2013-05-061-3/+1 * - Convert USE_GETTEXT to USES (part 2)ak2013-04-241-1/+1 * Update to 4.0.2.jkim2013-04-171-4/+4 * KDE/FreeBSD team presents KDE SC 4.10.1 ports!makc2013-03-273-5/+12 * 2013-03-05 ftp/proma: Broken for more than 6 monthbapt2013-03-1033-2132/+0 * Update to 4.0.1.jkim2013-03-092-5/+5 * Mark as deprecated a bunch of ports that are marked as broken for more than 6bapt2013-02-052-12/+8 * Update to 3.6.5.jkim2013-02-051-4/+4 * KDE/FreeBSD team presents KDE SC 4.9.5 ports!makc2013-02-043-9/+13 * - Deprecate QT3, KDE3 and unmaintained ports depending on them. QT 3.3.8beat2012-12-301-0/+3 * - Update to 3.5.7.jkim2012-10-272-9/+4 * - Update to 3.5.6.jkim2012-08-241-4/+4 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-4/+4 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-4/+4 * KDE/FreeBSD team presents KDE SC 4.8.4, probably the last release in 4.8.x se...makc2012-06-151-2/+2 * - update png to 1.5.10dinoex2012-06-012-2/+2 * Fix CATEGORIESmakc2012-05-251-1/+1 * KDE/FreeBSD team presents long awaited KDE SC 4.8.3!makc2012-05-255-0/+248 * Add the forgotten categoriesbapt2012-04-231-0/+1 * - upgrade to 3.5.2bapt2012-04-234-0/+21 * The vast majority of pkg-descr files had the following format when theydougb2011-10-241-3/+0 * Provide a new MASTER_SITE.obrien2011-10-062-8/+6 * Turns out that some geocities sites are more dead than others.dougb2011-08-242-2/+2 * Geocities has been gone for almost 2 years now, so let's removedougb2011-08-234-4/+6 * - Set DIST_SUBDIR: move dist files to DISTDIR/hunspellsunpoet2011-08-182-2/+3 * - Change MASTER_SITES to my LOCAL to avoid implicit change of non-versionedsunpoet2011-08-182-4/+4 * - Unify COMMENT and pkg-descrsunpoet2011-08-132-3/+3 * Remove WWW entries from unmaintained ports that return 404 or where the domainehaupt2011-08-031-2/+0 * Bye bye abandonwares (part 5)bapt2011-08-015-52/+0 * - Sort SUBDIRssunpoet2011-08-011-1/+1 * - Move language prefix to PKGNAMEPREFIXsunpoet2011-07-291-8/+8 * - Fix typosunpoet2011-07-251-1/+1 * Pass matainership to the new office teambapt2011-07-221-1/+1 * Add vietnamese hunspell dictionnarybapt2011-07-204-0/+37 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-081-1/+1 * - Kick MD5 supportmiwi2011-07-032-2/+0 * Last bunch of deprecation: no more public distfiles and/or abandonware... las...bapt2011-06-171-0/+3 * Bump PORTREVISION after open-mofit updatemakc2011-05-021-1/+1 * - Get Rid MD5 supportmiwi2011-03-1919-20/+0 * - Remove unnecessary PKGNAMEPREFIX declarationsunpoet2011-01-092-2/+0 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-2/+1 * UniKey is a very small and easy-to-use Vietnamese keyboard for Windows.pav2010-08-134-0/+33 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - update to 1.4.1dinoex2010-03-284-4/+4 * - update to jpeg-8dinoex2010-02-054-4/+4 * - Mark MAKE_JOBS_UNSAFEpav2009-11-231-0/+1 * Reset chinsan@FreeBSD.org due to numerous maintainer-timeouts and nolinimon2009-08-295-5/+5 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-223-6/+3 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-313-2/+3 * Convert most of remaining ports that depend on xorg-libraries toamdmi32009-06-091-1/+2 * - fix plist with -DNOPORTDOCSitetcu2009-04-212-6/+6 * Remove file that does not seem to serve any purposepav2009-01-071-1/+0 * - utf8locale part of base system since 5.3pav2009-01-061-7/+1 * - use DOCSDIRitetcu2008-11-222-5/+6 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-291-3/+3 * The KDE FreeBSD team is proud to announce the releasemiwi2008-08-181-3/+3 * Mark BROKEN on HEAD: does not build.erwin2008-08-132-1/+11 * - Remove USE_GCC where it can be satisfied with base compiler on followingpav2008-07-251-1/+0 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-063-2/+3 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-205-16/+16 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-221-2/+1 * - Add MASTER_SITES.chinsan2008-03-011-1/+1 * Tweak the PR 119107 changes.obrien2008-02-032-18/+46 * Use termios instead of sgtty.obrien2008-01-222-2/+65 * Update to KDE 3.5.8lofi2007-10-301-3/+3 * Fix gcc4 build.obrien2007-08-243-5/+25 * Respect LOCALBASE.tdb2007-07-101-1/+1 * Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-042-4/+3 * - Welcome X.org 7.2 \o/.flz2007-05-2011-2/+11 * Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-142-3/+54 * Really normalize Aspell dictionaries ports PKGVERSION...thierry2007-02-151-1/+1 * - Update to 3.04rafan2007-02-042-11/+24 * Add urwvn 3.02, vietnamese version of the standard PostScript fonts fromrafan2007-01-284-0/+44 * Add gtk-im-vi 0.1.1, simple GTK+ input methods for Vietnamese(VNI andrafan2007-01-285-0/+50 * Normalize Aspell dictionaries PKGNAMEs.thierry2007-01-141-0/+1 * Add vietunicode-trichlor 2004.04.30, 100% Viet Unicode compatible.rafan2007-01-084-0/+69 * Add vietunicode-hannom 2005.02.06, UNICODE Han Nom Font Set.rafan2007-01-084-0/+50 * Add vietunicode-web1 2004.04.30, 100% Viet Unicode & Vietrafan2007-01-084-0/+53 * Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-201-3/+3 * - Respect X11BASErafan2006-12-022-15/+12 * KDE 3.5.4 / KOffice 1.5.2lofi2006-09-132-3/+6 * All dictionaries can be installed separately:thierry2006-07-154-7/+18 * Update to KDE 3.5.3lofi2006-06-063-162/+100 * SHA256ifyedwin2006-01-2414-0/+16 * Update to KDE 3.5.0lofi2006-01-091-0/+1 * Remove expired ports.lawrance2005-12-155-73/+0 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-0/+1 * Unbreak by fixing pkg-plist and aligning run-depends statement.edwin2005-11-042-8/+5 * Unbreak port by fixing pkg-plistedwin2005-11-042-5/+2 * Respect X11BASEmnag2005-10-273-11/+26 * Mark as BROKEN: unfetchable.linimon2005-10-121-1/+5 * Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-011-1/+1 * This port is scheduled for deletion on 2005-09-22 if it is still brokenkris2005-07-232-0/+4 * The grand-daddy site of VietNet gone :~-( R.I.P. media.mit.eduobrien2005-07-171-1/+2 * Watch over this VN port.obrien2005-07-171-1/+1 * The grand-daddy site of VietNet gone :~-( R.I.P. media.mit.eduobrien2005-07-175-10/+6 * The grand-daddy site of VietNet gone :~-( R.I.P. media.mit.eduobrien2005-07-171-2/+1 * Move to using the bzip2'ed distfile.obrien2005-07-172-2/+3 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * BROKEN: Broken dependencykris2005-03-271-0/+2 * Upgrade to 0.2.9.thierry2005-03-164-10/+10 * Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-121-0/+1 * BROKEN: Incomplete pkg-plistkris2005-02-281-0/+2 * Add ports to ${SUBDIR} in alphabetical order.cperciva2005-01-301-2/+2 * Portlint.obrien2004-12-302-2/+2 * Portlint.obrien2004-12-301-1/+1 * Add xvnkb 0.2.8, a Vietnamese input method for X-Window.thierry2004-12-3010-0/+306 * Update to KDE 3.3.2lofi2004-12-141-1/+1 * Update to KDE 3.3lofi2004-08-311-1/+1 * Add slaves ports for Aspell's new dictionaries.thierry2004-08-293-0/+22 * - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,anholt2004-07-243-20/+10 * Remove category pkg/COMMENT files in favour of a COMMENT variable in thekris2004-04-022-1/+2 * SIZEify (maintainer timeout)trevor2004-03-3113-0/+14 * Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-102-2/+1 * - rpm2cpio.pl need to be EXTRACT_DEPENDS otherwise it will not workpav2004-03-021-1/+1 * Update to KDE 3.2.0lofi2004-02-053-5/+6 * Add USE_GETTEXT and bump PORTREVISION.marcus2004-02-041-2/+2 * Now gettext 0.12.1 is gettext-old.trevor2004-01-241-1/+1 * Use the CPIO macro defined in bsd.port.mk.trevor2004-01-221-1/+1