Open zimnx opened 10 years ago
Second commit change layout to proposed one: Looks more compact, i like it more ;)
That is kind of funny, because the close application dialog served as a work around for several things:
So it's as if you made a workaround for a workaround : )
I will look into it and probably will end up implementing the offline status the right way and removing this annoying CloseApplicationDialog at all. You can mention that PR in your proposal if you'd like, I doubt I will get chance to work on it during this week, sadly, being overly busy.
I didn't know that, i saw comment near changing status to offline, but i thought that this window will be integrated part of Tox, some applications use this pattern when closeing ;) Maybe if i find time tomorrow ill try to implement offline status. This is good execrise on working with core.
Hey i added checkbox which can user use to determine if he want confrimation dialog when closing application. Checbox can be checked in Settings page or directly on dialog. Here is how it looks now: I also centered buttons because with checkbox when they were aligned to right whole dialog looked ugly. Maybe checkbox should be in the same line with buttons. What do you think? Change in settings page:
I also fixed tray label. When user minimized window by clicking on close button, tray had label "hide" instead of "show"