* src/maemo/modest-msg-edit-window.c:
[modest] / src / gnome / modest-platform.c
index 1877709..685d458 100644 (file)
@@ -77,3 +77,34 @@ modest_platform_get_file_icon_name (const gchar* name, const gchar* mime_type,
 
        return icon_name;
 }
+
+gboolean 
+modest_platform_activate_uri (const gchar *uri)
+{
+       g_message ("not implemented %s", __FUNCTION__);
+}
+
+gboolean 
+modest_platform_show_uri_popup (const gchar *uri)
+{
+       g_message ("not implemented %s", __FUNCTION__);
+}
+
+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;
+}