git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@106
1a98c847-1fd6-4fd8-948a-
caf3550aa51b
// to get rid of the deprecated warning. Just ignore it.\r
if (!event.Iconized())\r
fClosedToTray = false;\r
+#ifdef __WXGTK__\r
+ if (mapArgs.count("-minimizetotray")) {\r
+#endif\r
// The tray icon sometimes disappears on ubuntu karmic\r
// Hiding the taskbar button doesn't work cleanly on ubuntu lucid\r
// Reports of CPU peg on 64-bit linux\r
fClosedToTray = true;\r
Show(!fClosedToTray);\r
ptaskbaricon->Show(fMinimizeToTray || fClosedToTray);\r
+#ifdef __WXGTK__\r
+ }\r
+#endif\r
}\r
\r
void CMainFrame::OnMouseEvents(wxMouseEvent& event)\r