From d2ccaca2aa99dcf4124b0f4c68a876737aa26537 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 12 Jul 2009 13:49:18 -0400 Subject: textadept.dialog doesn't support '--text' for 'fileselect'. CocoaDialog supports this, but gcocoadialog is used now. --- core/ext/find.lua | 1 - core/file_io.lua | 1 - core/locale.conf | 8 -------- 3 files changed, 10 deletions(-) (limited to 'core') diff --git a/core/ext/find.lua b/core/ext/find.lua index 1f3dfa99..950d5aa7 100644 --- a/core/ext/find.lua +++ b/core/ext/find.lua @@ -81,7 +81,6 @@ local function find_(text, next, flags, nowrap, wrapped) local utf8_dir = textadept.dialog('fileselect', '--title', locale.FIND_IN_FILES_TITLE, - '--text', locale.FIND_IN_FILES_TEXT, '--select-only-directories', '--with-directory', (buffer.filename or ''):match('^.+[/\\]') or '', diff --git a/core/file_io.lua b/core/file_io.lua index 4634f8f6..d37caf1d 100644 --- a/core/file_io.lua +++ b/core/file_io.lua @@ -151,7 +151,6 @@ function open(utf8_filenames) utf8_filenames or textadept.dialog('fileselect', '--title', locale.IO_OPEN_TITLE, - '--text', locale.IO_OPEN_TEXT, '--select-multiple', '--with-directory', (buffer.filename or ''):match('.+[/\\]') or '') diff --git a/core/locale.conf b/core/locale.conf index a7ce2028..b7ea6e68 100644 --- a/core/locale.conf +++ b/core/locale.conf @@ -75,10 +75,6 @@ IO_ICONV_ERROR "Encoding conversion failed." % "Open" IO_OPEN_TITLE "Open" -% core/file_io.lua -% "Select a file(s) to open" -IO_OPEN_TEXT "Select a file(s) to open" - % core/file_io.lua % "Save" IO_SAVE_TITLE "Save" @@ -139,10 +135,6 @@ FIND_REPLACEMENTS_MADE "%d replacement(s) made" % "Find in Files" FIND_IN_FILES_TITLE "Find in Files" -% core/ext/find.lua -% "Select Directory to Search" -FIND_IN_FILES_TEXT "Select Directory to Search" - % core/ext/find.lua % "[Files Found Buffer]" FIND_FILES_FOUND_BUFFER "[Files Found Buffer]" -- cgit v1.2.3