#include <libgnomevfs/gnome-vfs-mime.h>
#include <libgnomeui/gnome-icon-lookup.h>
#include <tny-gnome-device.h>
+#include <modest-runtime.h>
gboolean
modest_platform_init (void)
return icon_name;
}
+
+gboolean
+modest_platform_activate_uri (const gchar *uri)
+{
+ modest_runtime_not_implemented (NULL);
+ return FALSE;
+}
+
+gboolean
+modest_platform_show_uri_popup (const gchar *uri)
+{
+ modest_runtime_not_implemented (NULL);
+ return FALSE;
+}
+
+GdkPixbuf*
+modest_platform_get_icon (const gchar *name)
+{
+ GError *err = NULL;
+ GdkPixbuf* pixbuf;
+
+ g_return_val_if_fail (name, NULL);
+
+ pixbuf = gdk_pixbuf_new_from_file (name, &err);
+
+ if (!pixbuf) {
+ g_printerr ("modest: error while loading icon '%s': %s\n",
+ name, err->message);
+ g_error_free (err);
+ }
+
+ return pixbuf;
+}