X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fgnome%2Fmodest-platform.c;h=11d5093334db211b7fd4bb6f8dc1d7146af539e8;hb=fc741ebc372d1c8d4756641b96cb7cc37f986e47;hp=52f69eae83a3865478c263d773b3c5b79ecde7a0;hpb=9b0c9cd11adb0b796d16d2ed109e9df34cb5ed6d;p=modest diff --git a/src/gnome/modest-platform.c b/src/gnome/modest-platform.c index 52f69ea..11d5093 100644 --- a/src/gnome/modest-platform.c +++ b/src/gnome/modest-platform.c @@ -33,6 +33,8 @@ #include #include #include +#include +#include #include "modest-platform.h" #include "modest-mail-operation-queue.h" #include "modest-runtime.h" @@ -98,21 +100,21 @@ modest_platform_get_file_icon_name (const gchar* name, const gchar* mime_type, gboolean modest_platform_activate_uri (const gchar *uri) { - g_message ("NOT IMPLEMENTED");; + g_warning ("NOT IMPLEMENTED");; return FALSE; } gboolean modest_platform_activate_file (const gchar *path, const gchar *mime_type) { - g_message ("NOT IMPLEMENTED");; + g_warning ("NOT IMPLEMENTED");; return FALSE; } gboolean modest_platform_show_uri_popup (const gchar *uri) { - g_message ("NOT IMPLEMENTED");; + g_warning ("NOT IMPLEMENTED");; return FALSE; } @@ -348,7 +350,7 @@ modest_platform_push_email_notification(void) } void -modest_platform_on_new_headers_received (TnyList *header_list, +modest_platform_on_new_headers_received (GList *URI_list, gboolean show_visual) { /* TODO: implement this */ @@ -368,7 +370,15 @@ modest_platform_information_banner (GtkWidget *widget, const gchar *icon_name, const gchar *text) { - g_message ("NOT IMPLEMENTED");; + g_warning ("NOT IMPLEMENTED");; +} + +void +modest_platform_system_banner (GtkWidget *widget, + const gchar *icon_name, + const gchar *text) +{ + g_warning ("NOT IMPLEMENTED");; } void @@ -377,7 +387,7 @@ modest_platform_information_banner_with_timeout (GtkWidget *widget, const gchar *text, gint timeout) { - g_message ("NOT IMPLEMENTED");; + g_warning ("NOT IMPLEMENTED");; } GtkWidget * @@ -385,7 +395,7 @@ modest_platform_animation_banner (GtkWidget *widget, const gchar *icon_name, const gchar *text) { - g_message ("NOT IMPLEMENTED"); + g_warning ("NOT IMPLEMENTED"); return NULL; } @@ -393,7 +403,7 @@ modest_platform_animation_banner (GtkWidget *widget, void modest_platform_show_search_messages (GtkWindow *parent_window) { - g_message ("NOT IMPLEMENTED");; + g_warning ("NOT IMPLEMENTED");; } GtkWidget * @@ -463,13 +473,13 @@ modest_platform_connect_and_perform_if_network_folderstore (GtkWindow *parent_wi void modest_platform_remove_new_mail_notifications (gboolean only_visuals) { - g_message ("NOT IMPLEMENTED %s", __FUNCTION__); + g_warning ("NOT IMPLEMENTED %s", __FUNCTION__); } gboolean modest_platform_check_and_wait_for_account_is_online(TnyAccount *account) { - g_message ("NOT IMPLEMENTED %s", __FUNCTION__); + g_warning ("NOT IMPLEMENTED %s", __FUNCTION__); return TRUE; } @@ -477,7 +487,7 @@ gboolean modest_platform_run_certificate_confirmation_dialog (const gchar* server_name, const gchar *certificate) { - g_message ("NOT IMPLEMENTED %s", __FUNCTION__); + g_warning ("NOT IMPLEMENTED %s", __FUNCTION__); return TRUE; } @@ -487,14 +497,14 @@ modest_platform_run_rename_folder_dialog (GtkWindow *parent_window, const gchar *suggested_name, gchar **folder_name) { - g_message ("NOT IMPLEMENTED %s", __FUNCTION__); + g_warning ("NOT IMPLEMENTED %s", __FUNCTION__); return GTK_RESPONSE_CANCEL; } void modest_platform_show_addressbook (GtkWindow *parent_window) { - g_message ("NOT IMPLEMENTED %s", __FUNCTION__); + g_warning ("NOT IMPLEMENTED %s", __FUNCTION__); } GtkWidget * @@ -544,12 +554,14 @@ modest_platform_run_folder_details_dialog (GtkWindow *parent_window, void modest_platform_run_header_details_dialog (GtkWindow *parent_window, - TnyHeader *header) + TnyHeader *header, + gboolean async_get_size, + TnyMsg *msg) { GtkWidget *dialog; /* Create dialog */ - dialog = modest_details_dialog_new_with_header (parent_window, header); + dialog = modest_details_dialog_new_with_header (parent_window, header, TRUE); /* Run dialog */ modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),