X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fgnome%2Fmodest-platform.c;h=685d458ce6467c621f99f759b928b00ac567bb62;hb=1e269a39bd6e1c33e72e98b72f59f810d8f64e8a;hp=1877709df6b0bb44cba7b0afc8e69e6f7edfdd30;hpb=3e7a3b4e5759d63285d8795435b2ceedaf63b216;p=modest diff --git a/src/gnome/modest-platform.c b/src/gnome/modest-platform.c index 1877709..685d458 100644 --- a/src/gnome/modest-platform.c +++ b/src/gnome/modest-platform.c @@ -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; +}