diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-07-16 23:12:58 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-07-16 23:12:58 +0000 |
commit | 673a6d15d9867275e3a4ffb33b14b5fe7112cc42 (patch) | |
tree | 4b2601daa13137c1aebdb4cd594ccb5235750c86 /ui.cpp | |
parent | 0bbc812f4822d90d0cbad3c30d28fe810ea608de (diff) |
version 0.3.1 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@106 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'ui.cpp')
-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)
|