aboutsummaryrefslogtreecommitdiff
path: root/core/events.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/events.lua')
-rw-r--r--core/events.lua7
1 files changed, 4 insertions, 3 deletions
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