]> gitweb.factorcode.org Git - factor.git/commitdiff
demos: Add 'with-ui' call
authorEduardo Cavazos <dharmatech@finkelstein.stackeffects.info>
Fri, 1 Aug 2008 23:06:24 +0000 (18:06 -0500)
committerEduardo Cavazos <dharmatech@finkelstein.stackeffects.info>
Fri, 1 Aug 2008 23:06:24 +0000 (18:06 -0500)
extra/demos/demos.factor

index ba906fc08b537b9a19adfefb9c7f97aa60a1dc59..c8e5a35f9e351a8173c464acb30411640ba26b1d 100644 (file)
@@ -15,7 +15,7 @@ IN: demos
 : <demo-runner> ( -- gadget )
   <pile> 1 >>fill demo-vocabs [ <run-vocab-button> add-gadget ] each ;
 
-: demos ( -- ) <demo-runner> <scroller> "Demos" open-window ;
+: demos ( -- ) [ <demo-runner> <scroller> "Demos" open-window ] with-ui ;
 
 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!