X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-platform.c;h=6a7b7d7c2528df4ea131fa07360f2ac04aaa320d;hp=ee775220ffdc6ea8e9d44a2ce7fc3b9c4d7b1a74;hb=502114f20e2cb87fd966a222b8f91a56c758d85b;hpb=57ef4a349b509830747019c4af405f8a91892412 diff --git a/src/maemo/modest-platform.c b/src/maemo/modest-platform.c index ee77522..6a7b7d7 100644 --- a/src/maemo/modest-platform.c +++ b/src/maemo/modest-platform.c @@ -345,7 +345,7 @@ modest_platform_get_icon (const gchar *name) GtkIconTheme *current_theme = NULL; g_return_val_if_fail (name, NULL); - + if (g_str_has_suffix (name, ".png")) { /*FIXME: hack*/ pixbuf = gdk_pixbuf_new_from_file (name, &err); if (!pixbuf) {