From 83a7fb98aa673f332d324c1b08d5cfca93e885cd Mon Sep 17 00:00:00 2001 From: Patrick Ulbrich Date: Sun, 14 Jul 2013 15:54:39 +0200 Subject: [PATCH] renamed method --- Mailnag/configuration/configwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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