if (dimmed)
modest_dimming_rule_set_notification (rule, _("mcen_ib_message_already_deleted"));
}
+ if (!dimmed) {
+ dimmed = state->sent_in_progress;
+ if (dimmed)
+ modest_dimming_rule_set_notification (rule, _CS("ckct_ib_unable_to_delete"));
+ }
/* The delete button should be dimmed when viewing an attachment,
* but should be enabled when viewing a message from the list,
}
if (!dimmed) {
+ dimmed = _selected_msg_sent_in_progress (win);
+ if (dimmed)
+ modest_dimming_rule_set_notification (rule, _("mcen_ib_unable_to_move_mail_attachment"));
+ }
+ if (!dimmed) {
if (MODEST_IS_MSG_VIEW_WINDOW (win)) {
/* The move_to button should be dimmed when viewing an attachment,
* but should be enabled when viewing a message from the list,
else
result = (purged > 0);
+ /* This string no longer exists, refer to NB#75415 for more info
if (result && (rule != NULL))
modest_dimming_rule_set_notification (rule, _("mail_ib_attachment_already_purged"));
+ */
return result;
}