Haskell gtk2hs closing aboutDialogs

I'm having some trouble with the close buttons of aboutDialogs in gtk2hs. Here is my code

 aboutMenuAction <- xmlGetWidget xml castToMenuItem "menuAbout"
 onActivateLeaf aboutMenuAction $ do ad <- aboutDialogNew
                                     aboutDialogSetName ad "..."
                                     aboutDialogSetAuthors ad ["...","..."]
                                     widgetShowAll ad

This displays the aboutDialog fine, but the close button doesn't function at all. I wasn't able to find much about this, and have no idea how to get the close button functioning.

Cheers, Josh.


This works for me:

about = do
    ad <- aboutDialogNew
    aboutDialogSetName ad "Horde Test Program"
    aboutDialogSetVersion ad "1.0"
    aboutDialogSetAuthors ad $ ["Thomas M. DuBuisson "
        ++ "<Thomas.DuBuisson@gmail.com>"]
    aboutDialogSetComments ad $ ""
    dialogRun ad
    widgetDestroy ad

And to create that about dialog I have some buttons:

qa <- buttonNewFromStock stockAbout
onClicked qa $ about
-- ...
bb <- hButtonBoxNew
containerAdd bb qa

Disclaimer: For this program I took the carsim GTK demo as a starting point, so the code and even variable names probably still match that.

Need Your Help

Where can i get the .h file for OpenMP?

c eclipse openmp parallel-processing

I'm searching for the omp.h file for using it in eclipse. I failed to find it in openmp.org.

Is there a C# class for tracking service method calls like a stack trace

c# .net wcf stack-trace

I know that there is of course a stack trace for keeping track of calls to methods within your program however it does not show a call to a method in a service as part of the trace. Is there any bu...