aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index f9010d8370..22d1166b82 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -122,21 +122,21 @@ set_pixmap (Bonobo_UIContainer container,
const char *xml_path,
const char *icon)
{
-/*
- * FIXME: this is broken, and needs fixing
- * we probably want just to pass a filename in as filename
- * and not to have the mess with gnome_pixmap_file as well.
- */
-/* char *path, *parent_path;
+ char *path, *parent_path;
xmlNode *node;
+ GdkPixbuf *pixbuf;
path = g_concat_dir_and_file (EVOLUTION_DATADIR "/images/evolution/buttons", icon);
+ pixbuf = gdk_pixbuf_new_from_file (path);
+ g_return_if_fail (pixbuf != NULL);
+
node = bonobo_ui_container_get_tree (container, xml_path, FALSE, NULL);
g_return_if_fail (node != NULL);
- bonobo_ui_util_xml_set_pix_fname (node, path);
+ bonobo_ui_util_xml_set_pixbuf (node, pixbuf);
+ gdk_pixbuf_unref (pixbuf);
parent_path = bonobo_ui_xml_get_parent_path (xml_path);
bonobo_ui_component_set_tree (NULL, container, parent_path, node, NULL);
@@ -144,7 +144,7 @@ set_pixmap (Bonobo_UIContainer container,
xmlFreeNode (node);
g_free (parent_path);
- g_free (path);*/
+ g_free (path);
}
static void
:20:13 +0800'>2018-12-281-1/+1 * Reinstate graphics/py-poppler-qt4@r487595 as graphics/py-python-poppler-qt5tcberner2018-12-286-0/+79 * graphics/openexr: Update WWW: link.mandree2018-12-271-1/+1 * graphics/py-pyproj: Fix python 3.6 flavorswills2018-12-271-1/+1 * graphics/bmeps: update to 4.21.0swills2018-12-272-4/+4 * This port requires USES=compiler:c++11-lang to build on GCC-basedlinimon2018-12-271-1/+1 * This port requires USES=compiler:c++11-lang to build on GCC-basedlinimon2018-12-271-1/+1 * Update math/eigen3 to 3.3.7tcberner2018-12-2611-10/+11 * Handover to x11@, they maintain wayland itself already.kwm2018-12-261-1/+1 * Change cmake default behaviour to outsource.tcberner2018-12-26111-112/+112 * Add USES=compiler:c11 to fix build on GCC-based architectures.linimon2018-12-251-2/+2 * Update ImageMagick7 to 7.0.8-20.kwm2018-12-252-4/+4 * Update ImageMagick6 to 6.9.10-20.kwm2018-12-252-4/+4 * Fix GCC build.cy2018-12-252-3/+3 * graphics/p5-feedgnuplot: upgrade 1.49 -> 1.51pi2018-12-233-5/+5 * Revise BTS links in pkg-message for graphics/rawtherapeemandree2018-12-221-1/+2 * Update to new upstream release 5.5.mandree2018-12-228-758/+695 * This port requires USES=compiler:c++11-lang to build on GCC-basedlinimon2018-12-221-1/+2 * This port needs USES=compiler:c++11-lang to build on GCC-basedlinimon2018-12-221-5/+6 * This port needs USES=compiler:c++11-lang to build on GCC-based architectures.linimon2018-12-221-1/+1 * This port requires USES=compiler:c11 to build on GCC-based architectures.linimon2018-12-221-1/+1 * - Fix build with gccamdmi32018-12-221-1/+2 * Update to 1.6.36antoine2018-12-223-7/+7 * Remove expired ports:rene2018-12-2110-204/+0 * graphics/goom: remove optional dependency on expired multimedia/xmmsrene2018-12-213-13/+1 * graphics/GraphicsMagick: remove optional dependency on expired x11/dgsrene2018-12-212-25/+1 * Remove expired ports:rene2018-12-2138-598/+0 * graphics/graphite2: update to 1.3.13jbeich2018-12-212-5/+4 * graphics/gpxsee: update to 7.0tcberner2018-12-213-14/+16 * Update to 4.3.0bapt2018-12-213-4/+5 * - Fix build with GCC-based architecturesehaupt2018-12-202-8/+6 * This port needs USES=compiler:c++11-lang to build on GCC-based architectures.linimon2018-12-201-1/+1 * USES=compiler:c++11-lang is needed to fix linking with multimedia/mlt.linimon2018-12-201-1/+2 * graphics/radiance: fix build with GCC-based architecturesyuri2018-12-201-0/+3 * Mark BROKEN: fails to buildantoine2018-12-191-0/+2 * Upgrade to v.2.4.3.thierry2018-12-192-5/+4 * Fix variable MYDEPENDS which should be MY_DEPENDSdvl2018-12-191-1/+1 * Add graphics/p5-Image-OCR-Tesseractdvl2018-12-195-0/+51 * graphics/py-sk1: Move to graphics/sk1; Update g20171127 -> 2.0rc3yuri2018-12-196-44/+66 * graphics/drm-legacy-kmod: Update snapshotzeising2018-12-192-6/+5 * graphics/gmic: Update 2.4.2 -> 2.4.3yuri2018-12-192-5/+4 * Fix version check. THis is only supported on 12 and later.zeising2018-12-181-2/+2 * graphics/netpbm: Update to 10.84.05tobik2018-12-182-5/+5 * graphics/poppler: remove DEPRECATEDtcberner2018-12-171-3/+0 * graphics/minder: Update to 1.1.3tobik2018-12-173-4/+5 * graphics/dcmtk: Fix build with GCC-based architecturesyuri2018-12-171-1/+1 * graphics/vigra: update 1.11.0 -> 1.11.1, should fix PNG supportpi2018-12-175-31/+89 * Use regular DEPRECATED and EXPIRATION_DATE variables in an "if FLAVOR" blockrene2018-12-172-6/+4 * Update PyQt5 to 5.11.3tcberner2018-12-161-0/+3 * Update poppler to 0.72tcberner2018-12-1636-490/+1254 * Update KDE Frameworks to 5.53.0tcberner2018-12-166-12/+9 * Update Qt5 to 5.12.0tcberner2018-12-169-30/+57 * Remove expired ports:rene2018-12-167-366/+0 * graphics/gscan2pdf: remove optional dependency on expired graphics/cuneiformrene2018-12-161-3/+1 * graphics/yagf: deal with graphics/cuneiform expirationrene2018-12-162-11/+7 * graphics/Coin: Add USES=gl; Fix USE_GL; Add LICENSE_FILEyuri2018-12-161-3/+4 * - Update to 2.11danilo2018-12-152-6/+5 * - Update to 2.2.1danilo2018-12-153-5/+5 * graphics/drm-fbsd12.0-kmod: Update snapshotzeising2018-12-152-5/+5 * graphics/osg and graphics/osg-devel: Add USES=gl; Simplify CONFLICTS statementyuri2018-12-152-4/+4 * New port: graphics/qtpbfimageplugintcberner2018-12-144-0/+35 * Update KDE Applications to 18.12.0tcberner2018-12-1436-83/+53 * - use qt5dinoex2018-12-141-7/+5 * - use qt5dinoex2018-12-149-0/+153 * graphics/dcmtk: Update 3.6.0 -> 3.6.4; Move to the 'graphics' categoryyuri2018-12-1319-612/+1274 * Remove duplicate port (of devel/dcmtk)antoine2018-12-135-1227/+0 * New port: graphics/dcmtk: DICOM ToolKit, libraries and applications for DICOM...yuri2018-12-135-0/+1227 * Update Imagemagick7 to 7.0.8-16.kwm2018-12-136-43/+9 * Update ImageMagick6 to 6.9.10-16.kwm2018-12-134-40/+4 * graphics/drm-fbsd11.2-kmod: update to latest snapshotjmd2018-12-122-9/+5 * graphics/drm-fbsd12.0: Update to 4.16 DRMjmd2018-12-123-12/+34 * graphics/drm-current-kmod: update to latest snapshotjmd2018-12-122-6/+5 * Bump PORTREVISION for ports depending on the canonical version of GCCgerald2018-12-12235-163/+235 * devel/boost-*: update to 1.69.0jbeich2018-12-12