diff scripts/gui/uigetdir.m @ 20053: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
line wrap: on
line diff
--- a/scripts/gui/uigetdir.m
+++ b/scripts/gui/uigetdir.m
@@ -43,7 +43,7 @@
     init_path = fileparts (init_path);
   endif
 
-  if (isguirunning ())
+  if (__octave_link_enabled__ ())
     file_filter = cell (0, 2);
     default_file_name = "";
     dialog_position = [240, 120];