Only remove mail notifications for each account, when we see mails
[modest] / src / modest-ui-actions.c
index fd8c43a..95591bb 100644 (file)
@@ -7103,7 +7103,7 @@ modest_ui_actions_on_delete_account (GtkWindow *parent_window,
                           distinguish if the notification belongs to
                           this account or not, so for safety reasons
                           we remove them all */
-                       modest_platform_remove_new_mail_notifications (FALSE);
+                       modest_platform_remove_new_mail_notifications (FALSE, account_name);
                } else {
                        g_warning ("%s: modest_account_mgr_remove_account() failed.\n", __FUNCTION__);
                }