Merge branch 'no-queued-notification' into 'mainline'
Don't display "email queued for delivery" when undo-send-delay is 0 Closes #672 See merge request GNOME/geary!399
This commit is contained in:
commit
65ff5bea40
1 changed files with 7 additions and 6 deletions
|
|
@ -2633,13 +2633,14 @@ private class Application.SendComposerCommand : ComposerCommand {
|
|||
public override async void execute(GLib.Cancellable? cancellable)
|
||||
throws GLib.Error {
|
||||
Geary.ComposedEmail email = yield this.composer.get_composed_email();
|
||||
/// Translators: The label for an in-app notification. The
|
||||
/// string substitution is a list of recipients of the email.
|
||||
this.executed_label = _(
|
||||
"Email to %s queued for delivery"
|
||||
).printf(Util.Email.to_short_recipient_display(email));
|
||||
|
||||
|
||||
if (this.can_undo) {
|
||||
/// Translators: The label for an in-app notification. The
|
||||
/// string substitution is a list of recipients of the email.
|
||||
this.executed_label = _(
|
||||
"Email to %s queued for delivery"
|
||||
).printf(Util.Email.to_short_recipient_display(email));
|
||||
|
||||
this.saved = yield this.smtp.save_email(email, cancellable);
|
||||
this.commit_timer.start();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue