[GTKUI] Add associate magnet reg in Windows

I didn't realise that the associate magnet button in GTK was useless in Windows, I was simply going to hide the button but knew it would be a simple fix so I wrote this code that should do the trick. It's completely untested and may need tweaking.