Refactored modest_platform_on_new_headers_received().
[modest] / src / gnome / modest-platform.c
index a38b5c5..cc9b6a4 100644 (file)
@@ -113,7 +113,7 @@ modest_platform_show_uri_popup (const gchar *uri)
 }
 
 GdkPixbuf*
-modest_platform_get_icon (const gchar *name)
+modest_platform_get_icon (const gchar *name, guint icon_size)
 {
        GError *err = NULL;
        GdkPixbuf* pixbuf;
@@ -320,9 +320,16 @@ modest_platform_get_global_settings_dialog ()
        return modest_gnome_global_settings_dialog_new ();
 }
 
+void
+modest_platform_push_email_notification(void)
+{
+       /* TODO: implement this */
+       g_print ("--------------- NEW MESSAGE ARRIVED ---------------\n");
+}
 
 void 
-modest_platform_on_new_headers_received (TnyList *header_list)
+modest_platform_on_new_headers_received (TnyList *header_list,
+                                        gboolean show_visual)
 {
        /* TODO: implement this */
        g_print ("--------------- NEW MESSAGE ARRIVED ---------------\n");
@@ -391,6 +398,7 @@ modest_platform_run_alert_dialog (const gchar* prompt,
 
 void 
 modest_platform_connect_and_perform (GtkWindow *parent_window, 
+                                    gboolean force,
                                     TnyAccount *account, 
                                     ModestConnectedPerformer callback, 
                                     gpointer user_data)
@@ -401,6 +409,7 @@ modest_platform_connect_and_perform (GtkWindow *parent_window,
 
 void 
 modest_platform_connect_and_perform_if_network_account (GtkWindow *parent_window, 
+                                                       gboolean force,
                                                        TnyAccount *account,
                                                        ModestConnectedPerformer callback, 
                                                        gpointer user_data)
@@ -421,7 +430,7 @@ modest_platform_connect_and_perform_if_network_folderstore (GtkWindow *parent_wi
 
 
 void 
-modest_platform_remove_new_mail_notifications (void)
+modest_platform_remove_new_mail_notifications (gboolean only_visuals)
 {
        g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
 }