comparison scripts/gui/questdlg.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 a9952a647d52
children 777f26aa8e3e
comparison
equal deleted inserted replaced
19881:597fc0fd8e54 19882:9b7ca334a104
107 otherwise 107 otherwise
108 print_usage (); 108 print_usage ();
109 109
110 endswitch 110 endswitch
111 111
112 if (isguirunning ()) 112 if (__octave_link_enabled__ ())
113 btn = __octave_link_question_dialog__ (msg, title, options{1}, options{2}, 113 btn = __octave_link_question_dialog__ (msg, title, options{1}, options{2},
114 options{3}, options{4}); 114 options{3}, options{4});
115 elseif (__have_feature__ ("JAVA")) 115 elseif (__have_feature__ ("JAVA"))
116 btn = javaMethod ("questdlg", "org.octave.JDialogBox", msg, 116 btn = javaMethod ("questdlg", "org.octave.JDialogBox", msg,
117 title, options); 117 title, options);