mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
Fixed location of hotlist query dialogs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
110886fde6
commit
036abc7286
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user