diff options
author | 2010-02-25 04:50:42 -0500 | |
---|---|---|
committer | 2010-02-25 04:50:42 -0500 | |
commit | 97852faead603a90219639e238587a2414f1c1e4 (patch) | |
tree | 95fe9b75d3853b985c704e468d1b29ba781f26f1 /core/events.lua | |
parent | 6dd0afaca2398bd36ff48c9a2f7799608bafcace (diff) | |
download | textadept-97852faead603a90219639e238587a2414f1c1e4.tar.gz textadept-97852faead603a90219639e238587a2414f1c1e4.zip |
Modified quit and close dialogs to be more readable.
Submitted by rgieseke.
Diffstat (limited to 'core/events.lua')
-rw-r--r-- | core/events.lua | 7 |
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 |