12 Commits

Author SHA1 Message Date
UnknownShadow200
ada34d4c32 GUI: Fix icon not showing in popup dialogs on Mono
This took a long time to figure out because
1) for testing purposes I set Icon before the window handle had been created
2) When the window handle was later created, mono would not actually apply the custom icon since the border style is FixedDialog (see CreateHandle in Form.cs)
3) I later set Icon again in multiple other places. However, this was essentially a noop because Mono checked if the new icon was the same as the same previously assigned icon and do nothing in that case.
However, the assumption in step 3) was incorrect because the previously assigned icon had not actually been applied to the window.
Unfortunately this meant the correct Icon never showed at all. So the correct solution to this is to only assign Icon once in the Load event of forms.

I spent way too much time on this
2021-11-11 22:31:59 +11:00
UnknownShadow200
3bafdbe5da make chatroom have less extra permissions 2018-06-23 23:16:30 +10:00
UnknownShadow200
a22ba431f9 Extra command permissions support disallow/allow ranks now 2018-06-21 20:15:36 +10:00
UnknownShadow200
f79f0ff685 Combine CommandPerms/BlockPerms 2018-06-21 17:59:08 +10:00
UnknownShadow200
75a19fe6c6 refactor commands class 2018-05-30 08:56:46 +10:00
UnknownShadow200
b8fb8e2b79 few less pointless allocations of BlockPerms/CommandPerms 2018-02-27 11:49:44 +11:00
UnknownShadow200
36ba892c49 Commands tab in GUI shows properly cased command names 2018-02-27 11:31:29 +11:00
UnknownShadow200
080a721e9f Remove unused stuff from PropertyWindow, fix backup time not only allowing numbers to be added 2017-05-29 16:27:09 +10:00
UnknownShadow200
25849a4a84 Commands gui now has extra permissions too 2017-05-29 16:15:18 +10:00
UnknownShadow200
b3c9a2895a Stage 1 of command tabs rewrite. Also fixes commands changed via gui not saving, closes #239 2017-05-29 15:15:50 +10:00
UnknownShadow200
42d7f2ff23 Fully move custom commands to separate gui popup 2017-05-29 14:15:47 +10:00
UnknownShadow200
f9e11aa86b Split up window/propertywindow into separate files by tab 2017-05-27 09:52:51 +10:00