Thu Jan 19 18:52:52 WET 2006 Miguel Vilaca <jmvilaca@di.uminho.pt>
* Provides frame to impure operations
Some impure operations need to know which is the main frame where they should open dialogs.
This patch solves this requirement.
{
hunk ./src/Operations.hs 9
+import Graphics.UI.WX
+
hunk ./src/Operations.hs 29
+ -> Frame ()
hunk ./src/Operations.hs 57
- ; maybe (return ()) (\op->op (g,n,e))
+ ; w <- getNetworkFrame state
+ ; maybe (return ()) (\op->op (g,n,e) w)
}