From 97852faead603a90219639e238587a2414f1c1e4 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 25 Feb 2010 04:50:42 -0500 Subject: Modified quit and close dialogs to be more readable. Submitted by rgieseke. --- core/events.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core/events.lua') diff --git a/core/events.lua b/core/events.lua index cf522a9e..2707c272 100644 --- a/core/events.lua +++ b/core/events.lua @@ -495,12 +495,13 @@ add_handler('quit', end end if any and - textadept.dialog('yesno-msgbox', + textadept.dialog('msgbox', '--title', locale.EVENTS_QUIT_TITLE, '--text', locale.EVENTS_QUIT_TEXT, '--informative-text', - string.format(locale.EVENTS_QUIT_MSG, - table.concat(list, '\n')), + string.format('%s', table.concat(list, '\n')), + '--button1', 'gtk-cancel', + '--button2', locale.EVENTS_QUIT_BUTTON2, '--no-newline') ~= '2' then return false end -- cgit v1.2.3