diff --git a/Mailnag/configuration/configwindow.py b/Mailnag/configuration/configwindow.py index d2e15be..89cf329 100644 --- a/Mailnag/configuration/configwindow.py +++ b/Mailnag/configuration/configwindow.py @@ -182,7 +182,7 @@ class ConfigWindow: else: self._delete_autostart() - def _show_yesno_dialog(self, text): + def _show_confirmation_dialog(self, text): message = Gtk.MessageDialog(self._window, Gtk.DialogFlags.MODAL, \ Gtk.MessageType.QUESTION, Gtk.ButtonsType.YES_NO, text) resp = message.run() @@ -309,7 +309,7 @@ class ConfigWindow: def _on_btn_remove_account_clicked(self, widget): acc, model, iter = self._get_selected_account() if iter != None: - if self._show_yesno_dialog(_('Delete this account:') + \ + if self._show_confirmation_dialog(_('Delete this account:') + \ '\n\n' + acc.name): # select prev/next account