diff options
author | jofret | 2010-01-26 07:16:22 +0000 |
---|---|---|
committer | jofret | 2010-01-26 07:16:22 +0000 |
commit | 8647984e7a70ad7df918b12d28fdaf7f904e9e8a (patch) | |
tree | 6f2f20a128d14f7ae90ea73a5b6a2e07e274a025 /macros | |
parent | 45e43eeb6602280e7b46877dbb78158217a4d650 (diff) | |
download | scilab2c-8647984e7a70ad7df918b12d28fdaf7f904e9e8a.tar.gz scilab2c-8647984e7a70ad7df918b12d28fdaf7f904e9e8a.tar.bz2 scilab2c-8647984e7a70ad7df918b12d28fdaf7f904e9e8a.zip |
Remove future obsolete versions
Diffstat (limited to 'macros')
-rw-r--r-- | macros/cb_sci2c_gui.sci | 16 | ||||
-rw-r--r-- | macros/sci2c_gui.sci | 2 |
2 files changed, 4 insertions, 14 deletions
diff --git a/macros/cb_sci2c_gui.sci b/macros/cb_sci2c_gui.sci index d23bba34..0cf970c5 100644 --- a/macros/cb_sci2c_gui.sci +++ b/macros/cb_sci2c_gui.sci @@ -18,7 +18,7 @@ function cb_sci2c_gui // if get(gcbo,"tag")=="filebtn" then - filename = uigetfile("*.sci", getcwd(), gettext("Select the file to translate")); + filename = uigetfile("*.sci", pwd(), gettext("Select the file to translate")); if ~isempty(filename) then set(findobj("tag", "fileedit"), "string", filename); end @@ -28,27 +28,17 @@ if get(gcbo,"tag")=="filebtn" then // elseif get(gcbo,"tag")=="subfunsbtn" then - directory = uigetdir(getcwd(), gettext("Select your sub-functions directory")); + directory = uigetdir(pwd(), gettext("Select your sub-functions directory")); if ~isempty(directory) then set(findobj("tag", "subfunsedit"), "string", directory); end // -// --- Header file --- -// -// elseif get(gcbo,"tag")=="headerbtn" then - -// filename = uigetfile("*.h", getcwd(), gettext("Select SciLib main header file")); -// if ~isempty(filename) then -// set(findobj("tag", "headeredit"), "string", filename); -// end - -// // --- Output directory --- // elseif get(gcbo,"tag")=="outbtn" then - directory = uigetdir(getcwd(), gettext("Select the directory for generated files")); + directory = uigetdir(pwd(), gettext("Select the directory for generated files")); if ~isempty(directory) then set(findobj("tag", "outedit"), "string", directory); end diff --git a/macros/sci2c_gui.sci b/macros/sci2c_gui.sci index 6e87869c..fca04fb8 100644 --- a/macros/sci2c_gui.sci +++ b/macros/sci2c_gui.sci @@ -272,7 +272,7 @@ outlabel = uicontrol("parent", sci2cfig,... "fontsize", 12); outedit = uicontrol("parent", sci2cfig,... "style", "edit",... - "string", getcwd(),... + "string", pwd(),... "units", "pixels",... "position",[3*margin+100 optframemaxy+2*margin-1 figw-6*margin-100-btnw widgeth],... "fontname", defaultfont,... |