Fixed location of hotlist query dialogs.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2011-10-23 11:12:54 +04:00
parent 110886fde6
commit 036abc7286

View File

@ -1232,10 +1232,11 @@ remove_from_hotlist (struct hotlist *entry)
if (safe_delete)
query_set_sel (1);
g_snprintf (text, sizeof (text), _("Are you sure you want to remove entry \"%s\"?"),
str_trunc (entry->label, 30));
result = query_dialog (Q_ ("DialogTitle|Delete"), text, D_ERROR, 2, _("&Yes"), _("&No"));
result = query_dialog (Q_ ("DialogTitle|Delete"), text, D_ERROR | D_CENTER, 2,
_("&Yes"), _("&No"));
if (result != 0)
return;
}
@ -1251,9 +1252,8 @@ remove_from_hotlist (struct hotlist *entry)
g_snprintf (text, sizeof (text), _("Group \"%s\" is not empty.\nRemove it?"),
str_trunc (entry->label, 30));
result = query_dialog (Q_ ("DialogTitle|Delete"), text, D_ERROR, 2, _("&Yes"), _("&No"));
result = query_dialog (Q_ ("DialogTitle|Delete"), text, D_ERROR | D_CENTER, 2,
_("&Yes"), _("&No"));
if (result != 0)
return;
}