diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/file_io.lua | 3 | ||||
-rw-r--r-- | core/gui.lua | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/file_io.lua b/core/file_io.lua index c6fc45ba..137463d9 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -317,6 +317,7 @@ local function close(buffer) '--title', _L['Close without saving?'], '--text', _L['There are unsaved changes in'], '--informative-text', filename, + '--icon', 'gtk-dialog-question', '--button1', _L['_Cancel'], '--button2', _L['Close _without saving'], '--no-newline') ~= '2' then @@ -358,6 +359,7 @@ local function update_modified_file() '--informative-text', ('"%s"\n%s'):format(utf8_filename, _L['has been modified. Reload it?']), + '--icon', 'gtk-dialog-question', '--button1', _L['_Yes'], '--button2', _L['_No'], '--no-cancel', @@ -440,6 +442,7 @@ function io.snapopen(utf8_paths, filter, exclude_FILTER, ...) string.format('%d %s %d', io.SNAPOPEN_MAX, _L['files or more were found. Showing the first'], io.SNAPOPEN_MAX), + '--icon', 'gtk-dialog-info', '--button1', _L['_OK']) end local width = CURSES and {'--width', gui.size[1] - 2} or '' diff --git a/core/gui.lua b/core/gui.lua index 1d0a782b..6cfa35c6 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -432,6 +432,7 @@ events_connect(events.QUIT, function() '--text', _L['The following buffers are unsaved:'], '--informative-text', table.concat(list, '\n'), + '--icon', 'gtk-dialog-question', '--button1', _L['_Cancel'], '--button2', _L['Quit _without saving'], '--no-newline') == '2' |