Use Reload button for utils_check_disk_status dialog

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@737 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2006-08-18 17:23:40 +00:00
parent e3c7a60b17
commit ff5d2fd841

View File

@ -980,9 +980,10 @@ gboolean utils_check_disk_status(gint idx)
{
gchar *basename = g_path_get_basename(doc_list[idx].file_name);
if (dialogs_show_question(_
("The file '%s' on the disk is more recent than\n"
"the current buffer.\nDo you want to reload it?"), basename))
if (dialogs_show_question_full(_("_Reload"), GTK_STOCK_CANCEL,
_("Do you want to reload it?"),
_("The file '%s' on the disk is more recent than\n"
"the current buffer."), basename))
{
document_reload_file(idx, NULL);
doc_list[idx].last_check = t;