Skip to content

Commit

Permalink
Cancel instead close button
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Sep 14, 2023
1 parent 35733b0 commit d64b0d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MessageList/MessageListItem.vala
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,10 @@ public class Mail.MessageListItem : Gtk.ListBoxRow {
var dialog = new Granite.MessageDialog (
_("Donate message to elementary?"),
_("elementary staff will be able to read the contents of the message as well as your e-mail address."),
new ThemedIcon ("dialog-information")
new ThemedIcon ("dialog-information"),
NONE
);
dialog.add_button (_("Cancel"), Gtk.ResponseType.CANCEL);
var button = dialog.add_button (_("Donate"), Gtk.ResponseType.ACCEPT);
button.get_style_context ().add_class (Gtk.STYLE_CLASS_SUGGESTED_ACTION);

Expand Down

0 comments on commit d64b0d1

Please sign in to comment.