/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Evolution Conduits - Pilot Map routines * * Copyright (C) 2000 Ximian, Inc. * * Authors: JP Rosevear * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include "e-pilot-util.h" char * e_pilot_utf8_to_pchar (const char *string) { char *pstring = NULL; int res; if (!string) return NULL; res = convert_ToPilotChar ("UTF-8", string, strlen (string), &pstring); if (res != 0) pstring = strdup (string); return pstring; } char * e_pilot_utf8_from_pchar (const char *string) { char *ustring = NULL; int res; if (!string) return NULL; res = convert_FromPilotChar ("UTF-8", string, strlen (string), &ustring); if (res != 0) ustring = strdup (string); return ustring; } ESource * e_pilot_get_sync_source (ESourceList *source_list) { GSList *g; g_return_val_if_fail (source_list != NULL, NULL); g_return_val_if_fail (E_IS_SOURCE_LIST (source_list), NULL); for (g = e_source_list_peek_groups (source_list); g; g = g->next) { ESourceGroup *group = E_SOURCE_GROUP (g->data); GSList *s; for (s = e_source_group_peek_sources (group); s; s = s->next) { ESource *source = E_SOURCE (s->data); if (e_source_get_property (source, "pilot-sync")) return source; } } return NULL; } void e_pilot_set_sync_source (ESourceList *source_list, ESource *source) { GSList *g; g_return_if_fail (source_list != NULL); g_return_if_fail (E_IS_SOURCE_LIST (source_list)); for (g = e_source_list_peek_groups (source_list); g; g = g->next) { GSList *s; for (s = e_source_group_peek_sources (E_SOURCE_GROUP (g->data)); s; s = s->next) { e_source_set_property (E_SOURCE (s->data), "pilot-sync", NULL); } } if (source) e_source_set_property (source, "pilot-sync", "true"); e_source_list_sync (source_list, NULL); } /electron4/files/minimist-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Chase relocation of net/mpich2thierry2009-11-283-8/+8
* build fix by migration to gcc44.maho2009-09-301-2/+2
* Bump PORTREVISION for everything that sets USE_FORTRAN=yes which nowgerald2009-09-131-1/+1
* Bump PORTREVISION due to change of USE_FORTRAN=yes to GCC 4.3.gerald2009-01-081-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* Now we use USE_FORTRAN=yes to use FORTRAN compiler.maho2007-07-121-5/+1
* Bump port revision. My last commit enables usmaho2007-05-291-1/+1
* Fix soname for shared libs.maho2007-05-271-6/+9
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* * Install shared libs as well.maho2007-03-092-7/+46
* * Use gfortran42 only and not gcc42.maho2007-01-121-3/+6
* * Migrate to gfortran.maho2007-01-102-9/+17
* Make consistent if OpenMPI exists.maho2006-11-191-0/+4
* Add OpenMPI supportmaho2006-11-194-4/+102
* Build fix for 4-STABLEmaho2006-08-221-1/+4
* remove unnecessary empty filesmaho2006-07-241-0/+0
* Switch to MPICH2.maho2006-07-244-24/+15
* BLACS port doesn't acutally depend on LAPACK and BLASmaho2006-07-091-2/+0
* Remove USE_REINPLACE from ports starting with Medwin2006-05-111-1/+0
* SHA256ifyedwin2006-01-221-0/+9
* .else if should be .elif or .elseifmaho2005-07-061-1/+1
* Re-organize optimization flags so that runs much more fastermaho2005-07-041-0/+13
* Somehow pkg-message has been an empty file.maho2005-05-221-0/+12
* move pkg-message.in in ${FILESDIR} to installmaho2004-11-231-0/+0
* Forgot to add pkg-message.inmaho2004-10-191-0/+12
* 1) fix build after changes to make(1) on FreeBSDmaho2004-10-193-21/+14
* Make portlint happy by replacing space to tabmaho2004-05-071-3/+3
* SIZEifymaho2004-03-191-4/+13
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1