Mercurial > hg > bitcoin
changeset 201:c3477fda1ee9 draft
version 0.3.1 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@106 1a98c847-1fd6-4fd8-948a-caf3550aa51b
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> |
---|---|
date | Fri, 16 Jul 2010 23:12:58 +0000 |
parents | 9c75e023de46 |
children | 8ce0c32c3495 |
files | ui.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ui.cpp +++ b/ui.cpp @@ -375,6 +375,9 @@ // 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 @@ fClosedToTray = true; Show(!fClosedToTray); ptaskbaricon->Show(fMinimizeToTray || fClosedToTray); +#ifdef __WXGTK__ + } +#endif } void CMainFrame::OnMouseEvents(wxMouseEvent& event)