Mercurial > octave-nkf
comparison scripts/gui/uigetfile.m @ 19882:9b7ca334a104
Backout cset a9952a647d52 and use __octave_link_enabled__ rather than isguirunning.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 24 Feb 2015 10:41:57 -0800 |
parents | 9fc020886ae9 |
children | 777f26aa8e3e |
comparison
equal
deleted
inserted
replaced
19881:597fc0fd8e54 | 19882:9b7ca334a104 |
---|---|
171 error ("uigetfile: unknown argument"); | 171 error ("uigetfile: unknown argument"); |
172 endif | 172 endif |
173 endfor | 173 endfor |
174 endif | 174 endif |
175 | 175 |
176 if (isguirunning ()) | 176 if (__octave_link_enabled__ ()) |
177 [retfile, retpath, retindex] = __octave_link_file_dialog__ (outargs{:}); | 177 [retfile, retpath, retindex] = __octave_link_file_dialog__ (outargs{:}); |
178 else | 178 else |
179 funcname = __get_funcname__ (mfilename ()); | 179 funcname = __get_funcname__ (mfilename ()); |
180 [retfile, retpath, retindex] = feval (funcname, outargs{:}); | 180 [retfile, retpath, retindex] = feval (funcname, outargs{:}); |
181 endif | 181 endif |