From: Duncan C. <dun...@us...> - 2005-03-25 19:22:47
|
Update of /cvsroot/gtk2hs/gtk2hs/demo/concurrent In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31244/demo/concurrent Modified Files: Progress.hs Log Message: Fix progress demo to use the right idle priority. This is a knock-on change from fixing the priority constants in gtk/Graphics/UI/Gtk/General/Structs.hsc. Index: Progress.hs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/demo/concurrent/Progress.hs,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Progress.hs 16 Jan 2005 14:15:32 -0000 1.4 +++ Progress.hs 25 Mar 2005 19:22:39 -0000 1.5 @@ -20,7 +20,7 @@ boxPackStartDefaults contain pb widgetShowAll dia forkIO (doTask pb) - idleAdd (yield >> return True) priorityDefault + idleAdd (yield >> return True) priorityDefaultIdle dialogRun dia return () |