/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) version 3. * * 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with the program; if not, see * * * Authors: * * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com) * */ #ifdef HAVE_CONFIG_H #include #endif #include "evolution-shell-component-utils.h" #include #include "e-util/e-dialog-utils.h" #include #include #include #include #include #include static void free_pixmaps (void); static GSList *inited_arrays = NULL; void e_pixmaps_update (BonoboUIComponent *uic, EPixmap *pixcache) { static gint done_init = 0; gint i; if (!done_init) { g_atexit (free_pixmaps); done_init = 1; } if (g_slist_find (inited_arrays, pixcache) == NULL) inited_arrays = g_slist_prepend (inited_arrays, pixcache); for (i = 0; pixcache [i].path; i++) { if (!pixcache [i].pixbuf) { GdkPixbuf *pixbuf; pixbuf = e_icon_factory_get_icon (pixcache [i].name, pixcache [i].size); pixcache [i].pixbuf = bonobo_ui_util_pixbuf_to_xml (pixbuf); g_object_unref (pixbuf); bonobo_ui_component_set_prop (uic, pixcache [i].path, "pixname", pixcache [i].pixbuf, NULL); } else { bonobo_ui_component_set_prop (uic, pixcache [i].path, "pixname", pixcache [i].pixbuf, NULL); } } } static void free_pixmaps (void) { gint i; GSList *li; for (li = inited_arrays; li != NULL; li = li->next) { EPixmap *pixcache = li->data; for (i = 0; pixcache [i].path; i++) g_free (pixcache [i].pixbuf); } g_slist_free (inited_arrays); } /** * e_get_activation_failure_msg: * @ev: An exception returned by an oaf_activate call. * * Get a descriptive error message from @ev. * * Return value: A newly allocated string with the printable error message. **/ gchar * e_get_activation_failure_msg (CORBA_Environment *ev) { g_return_val_if_fail (ev != NULL, NULL); if (CORBA_exception_id (ev) == NULL) return NULL; if (strcmp (CORBA_exception_id (ev), ex_Bonobo_GeneralError) != 0) { return bonobo_exception_get_text (ev); } else { const Bonobo_GeneralError *oaf_general_error; oaf_general_error = CORBA_exception_value (ev); return g_strdup (oaf_general_error->description); } } abot/npm_and_yarn/devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* fix building for cases where WRKDIR is a nfs mountoliver2005-03-134-0/+20
* - Update to 1.7.32sem2005-03-128-52/+10
* -Update to 0.12.0, works with GTK 2.6/GNOME 2.10.mezz2005-03-121-1/+0
* Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-1210-9/+10
* Presenting GNOME 2.10 for FreeBSD!marcus2005-03-1265-987/+1287
* PEAR::DBA is a wrapper for the php DBA functions. It includes a file-basedpav2005-03-124-0/+32
* Update to 0.24mat2005-03-113-6/+11
* - update to phpPgAdmin-3.5.2dinoex2005-03-113-3/+5
* - Change find(1) options that is not supported before FreeBSD 5.3sem2005-03-101-2/+3
* add jrobin 1.4.0ijliao2005-03-093-0/+58
* PEAR::DB_ldap class provides a DB compliant interface to LDAP servers.pav2005-03-097-0/+57
* - Update to 0.12.1pav2005-03-092-4/+5
* Unbreak on 4.x by setting USE_GETOPT_LONGvs2005-03-091-0/+1
* Update to 2.8.16vs2005-03-082-7/+3
* Update to to 1.7.7.thierry2005-03-082-3/+3
* Upgrade to 1.7.4.thierry2005-03-082-3/+3
* Add pear-MDB_QueryTool 1.0.0, PEAR OO-interface for easilythierry2005-03-084-0/+59
* - Update to 1.0.0-rc3barner2005-03-072-3/+3
* PgWorksheet is an simple GUI frontend to Postgresql for executing SQL query andpav2005-03-075-0/+78
* - Update to 1.7.31sem2005-03-078-6/+50
* - Update to phpmyadmin-2.6.1.pl3 which corrects some pugs introducedthierry2005-03-0610-54/+44
* - Upgrade to 4.61;thierry2005-03-063-122/+41
* Reset maintainer on request. Thanks to Gerhard for maintaining thevs2005-03-0610-10/+10
* update to 0.55oliver2005-03-058-64/+84
* - update to 3.51.11sem2005-03-0512-888/+38
* - update to 1.7.30sem2005-03-056-106/+26
* Upgrade to 1.7.2.thierry2005-03-052-3/+3
* Add pear-DB_QueryTool 1.0.0, PEAR OO-interface for easilythierry2005-03-054-0/+56
* Add wmjsql, a WindowMaker dockapp that connects to a MySQL server and grabsdanfe2005-03-045-0/+56
* Upgrade to 1.7.5.thierry2005-03-043-23/+17
* Upgrade to to 1.7.1.thierry2005-03-032-6/+18
* Update to 1.40mat2005-03-0310-208/+16
* Document that __FreeBSD_version 503105 is ok for unicode-enabled build.fjoe2005-03-022-0/+2
* Respect the user's USE_LINUX setting.trevor2005-03-021-1/+1
* Upgrade to to 0.11.3.thierry2005-03-022-3/+3
* Add BSD master.passwd processing to pw2userdboliver2005-03-028-4/+420
* - fix Makefile [1]oliver2005-03-028-4/+20
* - Update to 0.3.5sem2005-03-013-6/+8
* Update to 1.08.tobez2005-02-283-5/+7
* Update to 0.09skv2005-02-282-3/+3
* BROKEN: Incomplete pkg-plistkris2005-02-289-0/+18
* - Fix build on 4.x: non-unicode version does not have pkg-message.fjoe2005-02-282-8/+8
* - fix PLISTleeym2005-02-271-0/+2
* - fix PLISTleeym2005-02-271-2/+1
* - Update to 2.6.1.2pav2005-02-264-6/+10
* Ouch, remove debugging flags, which crept in with the previous commit.mi2005-02-261-1/+0
* Fix a crash, that affected users of modern versions of MySQL.mi2005-02-263-5/+17
* Update to version 3.52.2krion2005-02-253-5/+4
* - Update to 1.6.8;thierry2005-02-253-30/+31
* - update Martin's email addressleeym2005-02-241-1/+1
* p5-Term-ReadLine-Gnu is not necessary: devel/p5-ReadLine-Gnu is the samethierry2005-02-241-1/+1
* - Provide a patch that allows to build working non-Unicode version.fjoe2005-02-246-12/+68