diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2010-07-19 01:10:37 +0000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2010-07-19 01:10:37 +0000 |
commit | 8e79c64750fa5626713e4525c1f5192d3eb37c5c (patch) | |
tree | 66c363e8d9351e67a7108aecc6f06994c8ebc6b4 | |
parent | 05708fc63e6f71e5b97830cc81509bef0ca47d48 (diff) |
version 0.3.1 releasev0.3.1
-rw-r--r-- | ui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -375,6 +375,9 @@ void CMainFrame::OnIconize(wxIconizeEvent& event) // to get rid of the deprecated warning. Just ignore it. if (!event.Iconized()) fClosedToTray = false; +#ifdef __WXGTK__ + if (mapArgs.count("-minimizetotray")) { +#endif // The tray icon sometimes disappears on ubuntu karmic // Hiding the taskbar button doesn't work cleanly on ubuntu lucid // Reports of CPU peg on 64-bit linux @@ -382,6 +385,9 @@ void CMainFrame::OnIconize(wxIconizeEvent& event) fClosedToTray = true; Show(!fClosedToTray); ptaskbaricon->Show(fMinimizeToTray || fClosedToTray); +#ifdef __WXGTK__ + } +#endif } void CMainFrame::OnMouseEvents(wxMouseEvent& event) |