Mercurial > hg > bitcoin
changeset 177:434aa945ab7d draft
version 0.3.1 release
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Mon, 19 Jul 2010 01:10:37 +0000 |
parents | 8ba2ef1e73bf |
children | bc54b210c458 |
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)