From cf0844064899390487ca16130b3214252f61cc56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergio=20Villar=20Sen=C3=ADn?= Date: Tue, 1 Dec 2009 12:22:35 +0100 Subject: [PATCH] Load icons from theme --- src/gtk/modest-platform.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gtk/modest-platform.c b/src/gtk/modest-platform.c index 89c974c..61b91cc 100644 --- a/src/gtk/modest-platform.c +++ b/src/gtk/modest-platform.c @@ -212,9 +212,11 @@ modest_platform_show_uri_popup (const gchar *uri) GdkPixbuf* modest_platform_get_icon (const gchar *name, guint icon_size) { - g_warning ("Not implemented %s", __FUNCTION__); - - return NULL; + return gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), + name, + icon_size, + 0, + NULL); } const gchar* -- 1.7.9.5