From 8e79c64750fa5626713e4525c1f5192d3eb37c5c Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 19 Jul 2010 01:10:37 +0000 Subject: version 0.3.1 release --- ui.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui.cpp b/ui.cpp index 319e3fd783..3da94a201b 100644 --- a/ui.cpp +++ b/ui.cpp @@ -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) -- cgit v1.2.3