From 036abc72860aaf04e11d5c36337395d75646c765 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 23 Oct 2011 11:12:54 +0400 Subject: [PATCH] Fixed location of hotlist query dialogs. Signed-off-by: Andrew Borodin --- src/filemanager/hotlist.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/filemanager/hotlist.c b/src/filemanager/hotlist.c index 008d04c14..b45aaa84d 100644 --- a/src/filemanager/hotlist.c +++ b/src/filemanager/hotlist.c @@ -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; } -- 2.11.4.GIT