Only remove mail notifications for each account, when we see mails
[modest] / src / modest-platform.h
index f3e5404..3e13146 100644 (file)
@@ -346,6 +346,10 @@ void modest_platform_information_banner (GtkWidget *widget,
                                         const gchar *icon_name,
                                         const gchar *text);
 
+void modest_platform_system_banner (GtkWidget *widget,
+                                   const gchar *icon_name,
+                                   const gchar *text);
+
 /* Timeout is in miliseconds */
 void modest_platform_information_banner_with_timeout (GtkWidget *parent,
                                                      const gchar *icon_name,
@@ -400,10 +404,11 @@ gboolean modest_platform_run_alert_dialog (const gchar* prompt, gboolean is_ques
 /**
  * modest_platform_remove_new_mail_notifications:
  * @only_visuals: remove only the visual notifications (like LEDs)
+ * @acc_name: account to remove notifications
  *
  * Removes all the active new mail notifications
  **/
-void modest_platform_remove_new_mail_notifications (gboolean only_visuals);
+void modest_platform_remove_new_mail_notifications (gboolean only_visuals, const gchar *acc_name);
 
 /* ModestConnectedPerformer:
  * @canceled: whether or not the user canceled