diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/textadept/find.lua | 1 | ||||
-rw-r--r-- | modules/textadept/keys.lua | 2 | ||||
-rw-r--r-- | modules/textadept/session.lua | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index c9d67ade..5b0adae8 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -270,6 +270,7 @@ local function run(code) '--title', _L['Error'], '--text', _L['An error occured:'], '--informative-text', val:gsub('"', '\\"'), + '--icon', 'gtk-dialog-error', '--button1', _L['_OK'], '--button2', _L['_Cancel'], '--no-cancel') diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index d6b9bc70..e87bed56 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -565,8 +565,6 @@ if not CURSES then keys.f1 = {utils.open_webpage, _HOME..'/doc/01_Introduction.html'} keys.sf1 = {utils.open_webpage, _HOME..'/doc/api/index.html'} end --- TODO: {gui.dialog, 'ok-msgbox', '--title', 'Textadept', '--text', _RELEASE, --- '--button1', _L['_OK'], '--no-cancel'} -- Movement commands. if OSX then diff --git a/modules/textadept/session.lua b/modules/textadept/session.lua index 5ac2f50f..e6a9063e 100644 --- a/modules/textadept/session.lua +++ b/modules/textadept/session.lua @@ -112,6 +112,7 @@ function M.load(filename) '--title', _L['Session Files Not Found'], '--text', _L['The following session files were not found'], '--informative-text', table.concat(not_found, '\n'), + '--icon', 'gtk-dialog-warning', '--button1', _L['_OK']) end return true |